DEV Community

Willian
Willian

Posted on

React is a black box. Why does that matter?

Liquid syntax error: 'raw' tag was never closed

Top comments (1)

Collapse
 
lexlohr profile image
Alex Lohr

While this is a nice introduction to two of the basics, JSX and hooks, it stays very superficial. The switch from class components to hooks had brought a new architecture with it, called "fibers". Each of these fibers is the least complex representation of an element, hook or memoized value as an object, bound to each other in a tree and then being tree-walked on each render cycle, which means that fibers bound to a fiber that is inactive will not be visited.