react-mf-remote-fragment
v1.0.1
Published
Module federation library to allow fragments to be server side rendered
Downloads
3
Readme
react-mf-remote-fragment
Essentially, just shared utility modules that are used for the following demo on a habr
- Webpack plugin - that created Fetch component that derives the fragment's html content on server and embeds it to the main html
- Server - just a naive server implementation for fragments to not copy and paste the same code again and again for many fragments
- Client container - just a fragment container on a frontend that wait the initialisation of the fragment and makes sure the markup is the same as from the server