chrome-extension-boilerplate-react icon indicating copy to clipboard operation
chrome-extension-boilerplate-react copied to clipboard

React-hot-loader is unused

Open headfire94 opened this issue 3 years ago • 1 comments

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

headfire94 avatar Apr 19 '22 10:04 headfire94

I also fixed this by react-refresh, here is a repo.

Godiswill avatar May 20 '22 04:05 Godiswill

fixed in the latest version with react 18

lxieyang avatar Jan 13 '23 20:01 lxieyang