❓ Po co nam prop "key" w React?
Z tego materiału dowiesz się po co jest prop "key" i jaki problem on rozwiązuje w aplikacjach React.
Kod: https://codesandbox.io/s/boring-paper-tc8ym
Źródła:
https://kentcdodds.com/blog/understanding-reacts-key-prop
https://reactjs.org/docs/lists-and-keys.html
https://stackoverflow.com/a/43892905
#react #javascript #frontend
Blog: https://fullstak.pl/
Instagram: https://instagram.com/fullstak_pl/
Discord: https://discord.gg/Ft9nb4C
Twitter: https://twitter.com/ArtiChmaro
Chcesz więcej? Sprawdź w oryginale!
Przejdź do filmu