Use Hooks in Gutenberg
-
I am creating custom block in gutenberg using npx @wordpress/create-block, and I need to use hooks in my save.js file, how to do that?
Second, I need to use external react packages e.g react-slider in my save.js file, how to do that?
Third, How would I select element by using raw javascript e.g querySelector? When I try to do that, it gives me null. Why and How to solve this.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.