React for CMSs and Portals
<Union />
Render React applications based on server-rendered HTML fragments.
Use Hot Module Reloading or a single Redux store within the environment of your favourite CMS.
Union Scripts
Use a zero-config JavaScript SDK suitable for large codebases.
Preconfigured bundle size optimization with automatic code-splitting.
Boilerplates
Blazing fast project setup with our boilerplates.
Multiple examples with more on the way!
The React Union project is a collection of tools that allow you to build modern React applications for content management systems or enterprise portals.
Content management systems, enterprise portals and React applications
There are some problems in those types of systems that need to be addressed in order to achieve a proper developer experience. This includes features such as HMR, application state time travel, ECMAScript 7+ syntax, etc. Additionally, there are problems regarding the nature of CMS and Portal solutions.
What are those problems?
Ad-hoc component renderingWe don't know the combination of widgets for any particular URL in advance. It is due to the fact that the user is able to customize what widgets should be rendered.
Multiple instances of the same widget in one viewE.g. image galleries, feeds or calendars. This fact adds complexity to managing application state, passing initial data, etc.
Sharing and synchronization of data between widgetsEven though the widgets have to be independent of each other, we have to be able to share the model/data they are working with.
Build optimizationApplication code has to be split into several chunks to only serve code necessary for the current page.
Passing data from serverThere are cases where our widgets need to be provided data from a server, e.g. information about the user, preferences, color schema, etc.