Skip to content

Improve loading times by splitting pages.tsx into smaller files and improving the locality map - #1224

Draft
juhanikat wants to merge 3 commits into
mainfrom
fix-pages-file-importing
Draft

Improve loading times by splitting pages.tsx into smaller files and improving the locality map#1224
juhanikat wants to merge 3 commits into
mainfrom
fix-pages-file-importing

Conversation

@juhanikat

@juhanikat juhanikat commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

This PR reduces the file size of countryPolygons.ts by roughly 50%. This is done by simplifying the geometry of source .geojson file used to generate the polygons. The simplification was done using mapshaper.org. Both the original and the simplified .geojson files are in the country_data folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve map loading times Navigating away from the front page for the first time takes a while due to pages.tsx import in index.tsx

1 participant