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

rendering twice #1

Open
johnico opened this issue May 9, 2020 · 1 comment
Open

rendering twice #1

johnico opened this issue May 9, 2020 · 1 comment

Comments

@johnico
Copy link

johnico commented May 9, 2020

when i use this sample a component is rendering twice. even if is a sample one, how can I fix it?
react 16.13+

@tswistak
Copy link
Owner

Hi,
I've upgraded React to the newest version in the sample and debugged it - rendering for "Hello" component is executed only one time (tested on Firefox and Chrome). If you could provide a reproducible sample showing double render I'll try to help more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants