...
This document describes the key design problem statement and design for the separation of the question set and collection editor.
...
Independently deployable and release process (CI/CD pipelines)
Third-party library Dependency dependency can be handled independently(Specific to repositories)
Features specific to the editor can be implemented in the respective GitHub repo.
Easier adoption and contribution
Reduce the build size/ better performance
...
Efficiency: Reuse markups across components, Future changes are simple
Consistency: Updating reusable components get affected everywhere it is used
Very easy to implement
Development effort and testing are less compared to approach 1
Cons:
Any issue with the shared module might affect all applications using it.
Not Independently release process like approach 1.
Conclusion:
TBD…..