Hey, great series! Does your webpack config has the react-refresh plugin? I found the 10s vs 1s unexpected, it should be closer if you add something like github.com/pmmmwh/react-refresh-we...
Also, does your project use yarn workspaces? And have you compared Vite with alternatives like Snowpack?
Does your webpack config has the react-refresh plugin
Yes, it has, I'll double-check if it's configured the right way, thanks 😊
does your project use yarn workspaces
Yes, the only noticable thing is that the dependencies are installedin the top-level node_modules while Vite's cache is stored in the local node_modules.
have you compared Vite with alternatives like Snowpack?
Yes, Vite's advantage is that has batteris included for targeting non-ESModules compatible browsers.
Hey, great series! Does your webpack config has the react-refresh plugin? I found the 10s vs 1s unexpected, it should be closer if you add something like github.com/pmmmwh/react-refresh-we...
Also, does your project use yarn workspaces? And have you compared Vite with alternatives like Snowpack?
Yes, it has, I'll double-check if it's configured the right way, thanks 😊
Yes, the only noticable thing is that the dependencies are installedin the top-level
node_modules
while Vite's cache is stored in the localnode_modules
.Yes, Vite's advantage is that has batteris included for targeting non-ESModules compatible browsers.
Got it, thanks! I'll experiment with Vite on my next product.