I’ve been involved on Block Editor (Gutenberg) related project lately and one of the trick that I found useful the most is the fact that Block Editor’s data modules are exposed and accessible via browser console.
let’s say you want to checkout what selectors are available for
core/block-editor data module. You can open browser console then type
If you execute any of them, it’ll return actual data of current editor state:
You can do the same with
dispatcher. If you’re looking for what methods available on
core/block-editor, you open browser and type