zero-to-preact
zero-to-preact copied to clipboard
Hot reload don't preserve components local state
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?