Join GitHub today
fix: ensure Give blocks are compatible with latest Gutenberg #3813
As an admin, I want to ensure that Give blocks will work fine with WordPress future release with Gutenberg editor so that I can use Give blocks to create pages.
Give blocks are not working fine with WP 5.0 Beta.
Give blocks must work fine with WP 5.0 Beta or above.
Steps to Reproduce
@kevinwhoffman @DevinWalker I worked on this issue and now blocks are working with WP 5.0.0 Beta but I am facing one issue. Gutenberg API somewhere caches API results before render and it will not rerender block if past query repeat. I check for a solution but did not find.
I know somewhere maybe we need to bypass this function or manually call cache deletion function: https://github.com/WordPress/gutenberg/blob/aec940810eaa73e9fe54c2a0e3dd591634158aa5/packages/data/src/resolvers-cache-middleware.js#L25
I will reach out to gutenberg pro developers and let know about it.