if you use Date.now() or combine anything with Date.now() at key={} attribute.
cizz3007 opened this issue · comments
김창현 commented
if you use Date.now() or combine anything with Date.now() at key={} attribute.
every component will re-rendered on every update.
it's shit.
every trigger that you are doing is cause re-rendering component
Originally posted by @cizz3007 in #43 (comment)
Benjamin Botwin commented
That's actually a behavior of react. If the key
prop changes between updates than a component will re render.