JSX is the React extension to JavaScript that allows you to create components using a syntax similar to HTML. While most block editor tools and tutorials on the web provide JSX examples for creating blocks, not many folks know that it is not required. You can use plain JavaScript.
In part 1, we built a simple WordPress block using plain JavaScript. However, the block was static, in that a user couldn't edit the content in any way.
This week we will add support for attributes, as well as implement the pre-existing RichText component. These will enable a user to edit the content of the block.