News for hackers. Stuff that matters.
Re:Migrating from Create React App to Vite by Aldipower on Thursday October 17, 2024 @04:48AM (#41867641)
Thanks, so I won't use vite. Hot Module Realoading never worked reliable to me.
Re:Migrating from Create React App to Vite by homebrewer on Thursday October 17, 2024 @06:21AM (#41868159)
CRA's HMR is a mess that breaks more often than it works, but I haven't had any problems with Vite's HMR after using it for the past three (I think?) years.
Re:Migrating from Create React App to Vite by conradfr on Thursday October 17, 2024 @05:03AM (#41867722)
Because you did not use Vite.
Re:Migrating from Create React App to Vite by lyxell on Thursday October 17, 2024 @08:25AM (#41868994)
I can’t speak for how it works in other frameworks but HMR for React works flawlessly in Vite.