A demonstration of a way to build a server-side-rendered web app with web components and state management.
Checkout the live demo!
For this example, web components are built using wctk-js and state management is implemented with redux
This example demonstrates how to deliver an initial response with:
- SSR / SSG styles and structure
- No FOUC (flash of unstyled content)
- Web components via declarative shadow dom
Then afterwards:
- Progressively-enhance state-management with redux
- Progressively-enhance web-component interactivity with wctk-js
- Subscribe components to datastores like redux with wctk-js
Wctk-Redux-SSR-Demo is released under the BSD-3 Clause License.