javascript
-
Creating Reusable React Hooks For The WordPress Block Editor or Whatever
The new React documentation site is live and looks great. This section on creating custom hooks to encapsulate logic that needs to be used in multiple places in a React application is quite good. This is an important strategy to learn, and can help a lot when developing multiple blocks for a WordPress site. In […]
-
How To Insert Blocks In WordPress Block Editor
How to inserta block to the WordPress post editor, using JavaScript.