|
|
|
|
|
by jannes
1188 days ago
|
|
Yes, and they explain it as well. Doing that leads to the component re-rendering immediately without rendering any child components. This should be faster than useEffect which only executes after the entire render has been committed to the DOM. |
|