Slide 17
Slide 17 text
LEARNINGS
● Every building block (e.g. navbar, footer, menu) should be treated as service
● Everything (JavaScript, CSS, HTML) has to be contained in the entry file
○ Some optimizations fall short (e.g. chunking)
○ Create React App is PITA in this case
● Images should be stored in a CDN, or use Webpacks base64-inline-loader
● Put as much dependencies into root import map as possible (e.g. React, Axios, lodash, momentjs, ...)
○ … and make use of Webpack externals