developit / developit/zero-to-preact

Hot reload don't preserve components local state

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
179
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.