Closed Entkenntnis closed 5 years ago
nice! did you find a solution to the package size / bodyParser issue?
yes, I've excluded bodyparser for the client, package size is now about 400kB with each compononent only adding about 2kb
moving this changes into serlo.org repository, so closing this PR
We want to replace components one-by-one, so the nextjs-server should output fragments that are compatible with each other. This can be achieved by:
Every fragment only loads resources if they are not yet loaded. Every fragment has unique divs for react and json-data. When react starts, it loads all page ids and renders them.
This is implemented in this PR.