UW-Macrostrat / web

Macrostrat's web interface
https://macrostrat.org/map
MIT License
11 stars 4 forks source link

Server-side rendering #73

Closed davenquinn closed 1 year ago

davenquinn commented 1 year ago

For new, more reactive apps showcasing columns, etc., we should really enable server-side reloading for better searchability and rapid delivery of complex pages (read, svg sections and wheeler diagrams -> mobile!).

We could do this by porting the entire app to Next.js, but it would be more ideal to work progressively. One alternative path is to replace Webpack with Vite, and use vite-plugin-ssr for server-side reloading. This would allow us to work more progressively while retaining the features of React-Router, which we have begun using to great effect.

davenquinn commented 1 year ago

Sub-tasks:

davenquinn commented 3 months ago

Note for posterity: vite-plugin-ssr has now been renamed Vike and is really working impressively for server rendering across this codebase.