react-hooks-with-inversify icon indicating copy to clipboard operation
react-hooks-with-inversify copied to clipboard

rendering twice

Open johnico opened this issue 5 years ago • 1 comments
trafficstars

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

johnico avatar May 09 '20 20:05 johnico

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.

tswistak avatar May 11 '20 13:05 tswistak