Why Do React Elements Have a $$typeof Property?

added by JavaScript Kicks
12/4/2018 8:15:06 AM

503 Views

December 03, 2018 * ☕️ 5 min read You might think you're writing JSX: But really, you're calling a function: And that function gives you back an object. We call this object a React element. It tells React what to render next. Your components return a tree of them.


0 comments