Currently, any changes to React part requires re-building of the distributed JavaScript files. Which causes multiple issues:
- Causes unnecessary swelling of the repository size.
- Any patch has to contain the re-build distributed JavaScript files, which increases patch sizes.
- Any changes to the required packages (updates) cause changes in distributed JavaScript files.
- etc.
I suggest creating an NPM library based on React part of the module and using it as a dependency.
This should separate backend and frontend parts. Apart from fixing previously mentioned issues, this would also allow us to perform updates to the frontend, which will require site-admins only to update the library, not the module.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.