Update react to v19, update eslint, replace chroma-js with colord and replace outdated deps
- Upgrade
reactand its dependencies to version 19. - Update
eslintconfiguration. - Replace
react-scriptswithvite. - Replace
react-router-cache-routewithkeepalive-for-react.react-router-cache-routedoes not work withreact-routerv6+. - Replace
use-query-paramswith nuqs.use-query-paramsdoes not work with new react. - Replace
chroma-jswithcolord. It weighs 5 times less (bundle size reduced from 390kb to 352kb) and has built-in typing.
How do you deploy this project @SuspiciousLookingOwl ?
Could you make some preview (screenshots in this PR) @nakrovati ?
Hi, here are some screenshots. They don't really make sense as the UI is 1 to 1 what it was.
I haven't worked with netlify, but it seems like repo owner just need to change the build directory from output to dist and deploy with netlify CLI (if you don't have CI/CD configured).
If you want to rework on this, I mean trigger a deployment when master is updated, feel free.
In general, a netlify account holder can just connect repo through netlify and not have to write triggers and github worlflows, as the guide says https://docs.netlify.com/get-started/.
This is the easiest and fastest way, I deploy sites to vercel the same way.
If you want to switch and setup a vercel account for this, be my guest
@SuspiciousLookingOwl has no time to maintain it, I suppose 😛
Ok, then write the email to which you want to create the account, or if you want to register it to your email, I will give you instructions how to deploy it, it's a matter of a few minutes. In the meantime you can check it deployed from my account - https://website-ten-beryl-94.vercel.app.
Hi @waghanza, so what did you decide about Vercel?
@nakrovati your proposal is still somewhere in my memory 😛
I've published https://the-benchmarker.netlify.app and will take some times later to automatize
btw, thanks for you work
@nakrovati your proposal is still somewhere in my memory 😛
I've published https://the-benchmarker.netlify.app and will take some times later to automatize
btw, thanks for you work
I suggested Vercel because it was 2–3 times faster on this site https://bejamas.com/compare/vercel-vs-netlify, although now they're almost equal.
Perhaps it would be a good idea to update the site address in the repo and redirect the old address to the new one, as the old site still has code from two years ago. Although it's better to keep the old address if a maintainer still have a Netlify account.
I see... Performances is not really an issue in this context.
The idea is only to enable auto deploy on this project, in order to deploy when a new PR is merged on master 👍
Will configure it ...