Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block Hooks examples #20

Open
ryanwelcher opened this issue Sep 14, 2023 · 1 comment
Open

Block Hooks examples #20

ryanwelcher opened this issue Sep 14, 2023 · 1 comment

Comments

@ryanwelcher
Copy link
Owner

https://make.wordpress.org/core/2023/09/06/whats-new-in-gutenberg-16-6-06-september/

@flexseth
Copy link
Contributor

Heya @ryanwelcher: Can you do a dive into Block Hooks this week?

I've been trying to build a timer functionality that could report to say, FreshBooks for time accounting. It appears you can manage events which is what I need to stop and start the timer. Been running into a lot of trouble trying to use conditional logic for this functionality and not use effect. Mainly with the component re-rendering and making the timer jump up.

This could be a cool use case!

https://developer.wordpress.org/block-editor/reference-guides/packages/packages-hooks/

Cheers/Seth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants