Sitelet https://web.archive.org/web/20201026213919/https://github.com/sventschui/preact-ssr-prepass/pull/15
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable rogue state updates #15

Merged
merged 2 commits into from Oct 14, 2020
Merged

Disable rogue state updates #15

merged 2 commits into from Oct 14, 2020

Conversation

@developit
Copy link
Collaborator

@developit developit commented Oct 9, 2020

This initializes components with the dirty flag set, which prevents them from being pushed into Preact's (DOM) rendering queue. State updates and forceUpdate() will still work, but they won't attempt to re-rendering using preact.

developit and others added 2 commits Oct 9, 2020
This initializes components with the dirty flag set, which prevents them from being pushed into Preact's (DOM) rendering queue. State updates and forceUpdate() will still work, but they won't attempt to re-rendering using preact.
@sventschui sventschui merged commit 6001a26 into master Oct 14, 2020
3 checks passed
3 checks passed
Travis CI - Branch Build Passed
Details
Travis CI - Pull Request Build Passed
Details
coverage/coveralls Coverage remained the same at 100.0%
Details
@sventschui sventschui deleted the avoid-state branch Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.