Categories
WordPress

Gutenberg Snippet: Retrieve taxonomy terms with compose, withSelect, and getEntityRecords

A snippet that I need to remember.

Categories
WordPress

Log a Gutenberg block’s attributes to the console

How to log a Gutenberg block’s attributes to the console for helpful debugging and an introduction to WordPress data stores.