Closed headfire94 closed 1 year ago
Currently whole page re-loads with default webpack hot reload. React hot loader doesn't work because
To start using react-hot-loader need to follow instruction https://github.com/gaearon/react-hot-loader#getting-started
Mark your root component as hot-exported:
But it won't work because eval not supported in current env
eval
I also fixed this by react-refresh, here is a repo.
fixed in the latest version with react 18
Currently whole page re-loads with default webpack hot reload. React hot loader doesn't work because
To start using react-hot-loader need to follow instruction https://github.com/gaearon/react-hot-loader#getting-started
But it won't work because
eval
not supported in current env