Convert React part of the module into library

Created on 28 March 2019, about 5 years ago
Updated 10 June 2024, 13 days ago

Problem/Motivation

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.

Proposed resolution

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.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡°πŸ‡¬Kyrgyzstan elaman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024