zero-to-preact icon indicating copy to clipboard operation
zero-to-preact copied to clipboard

Hot reload don't preserve components local state

Open spacewoox opened this issue 8 years ago • 0 comments

If I set a counter that increment itself every seconds in App, when I update the 'hello world' message, the counter state is reset to zero instead of keeping its actual value. do you have a solution to fix it?

spacewoox avatar Dec 11 '17 13:12 spacewoox