A React Developers Guide to Writing Enhance Components

March 18, 2024

Frequently, we are asked by React developers why patterns they have learned while writing components using JSX do not translate to writing web components. In this post, I’ll try to capture some common gotchas that developers coming from React or other JavaScript view frameworks may run into when writing plain vanilla web components. Thanks to Discord user taphill for the inspiration on this post.

Source: A React Developers Guide to Writing Enhance Components — Begin Blog

Web Components and React (insert your favorite framework here) are not incompatible. But Web Components don’t work exactly how folks used to components in other systems might think. Simon MacDonald helps you re-orient your thinking.