Three Common React Errors (and how to avoid them)

preview_player
Показать описание
React can be a tricky framework, and it's easy to make non-obvious mistakes with it. In particular, it's possible to have errors or bugs in React that fail silently. Today, we take a look at three of those issues and ways to avoid them.

--
Follow Me Online Here:

--
My gear:

--
Who am I?

Рекомендации по теме
Комментарии
Автор

I recently gave a technical interview and the interviewer gave me advice to avoid using the index of a list in array. was not disqualifying but is something to avoid.

I already had a problem doing that in Vue.js, I don't know if it's a good tip but I was putting a unique string with the index, (like this `item-list--${index}` maybe it can help when we are doing a loop and we don't have a UID.

Andrewsylar