Remix.run Logo
maelito 3 days ago

For https://cartes.app, I'm planning to code an extremely light version of the map tiles. Based on initial network speed, decide to load this style first, that just lets the user see the streets and and important places. Then load the rest.

This initial map style would be the equivalent of a "text-only" website.

Blocked by Vercel's turbopack bundle analyzer's bugs though, because before optimizing the tiles, I need to optimize the JS that loads the tiles.

I haven't figured a way to load a Maplibre map server side, so the JS must be ready before the map starts to get loaded.

https://github.com/vercel/next.js/discussions/86731