plus1tv / react-anime

✨ (ノ´ヮ´)ノ*:・゚✧ A super easy animation library for React!

Home Page:https://codepen.io/collection/nrkjgo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

if you use Date.now() or combine anything with Date.now() at key={} attribute.

cizz3007 opened this issue · comments

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)

That's actually a behavior of react. If the key prop changes between updates than a component will re render.