platforms icon indicating copy to clipboard operation
platforms copied to clipboard

Extremely slow

Open parweb opened this issue 2 years ago • 2 comments

I just install this app on local and run it with yarn dev everything works

I didn't change anything appart from env variables

but when I navigate between pages it's extremely slow like 10-20s before render I on a mac from 2019

2,8 GHz Intel Core i7 quatre cœurs 16 Go 2133 MHz LPDDR3

parweb avatar Jul 10 '23 22:07 parweb

Similar experience, not as slow but I noticed the delay and not sure if this is expected?

TatisLois avatar Jul 14 '23 03:07 TatisLois

Did you try to build and check if it occurs when on builded site? I think it's happening because for each site you have, next js on dev tries to get all pages data and paths on each navigation. It's the default behavior when development AFAIK.

sync-adm avatar Jul 14 '23 19:07 sync-adm

This is probably due to the lucide-react package which exports a ton of modules that slows up local dev compilation time!

The Next.js team is aware of it and will be fixing it soon!

steven-tey avatar Jul 21 '23 03:07 steven-tey

Should be fixed now :cele-cry:

steven-tey avatar Sep 29 '23 21:09 steven-tey