On Gutenberg when doing:
* on an empty paragraphIt triggers a React warning with the following stack trace

And if I'm reading right, this is the only place where this could be triggered right?
Reproduction
https://codesandbox.io/s/wordpress-slotfill-reakit-toolbar-nw01x
Hey @youknowriad :wave:,
Thank you for opening an issue. We'll get back to you as soon as we can.
Please, consider supporting us on Open Collective. We give a special attention to issues opened by backers.
If you use Reakit at work, you can also ask your company to sponsor us :heart:.
Hi @youknowriad, thanks for this! Do you think you could create a minimal CodeSandbox demonstraighting this error?
Looks like it only happens in the context of Gutenberg, and I suspect it's somehow related to https://github.com/WordPress/gutenberg/issues/17355#issuecomment-629934483
I'll try to put together a minimal reproduction and see if there's something we can do on Reakit to prevent it.
@diegohaz That's great, thanks for your help. I admit I don't know enough knowledge in this area of our codebase to be able to create a minimal reproduction CodeSanbox.
Here's a reproduction of the problem: https://codesandbox.io/s/wordpress-slotfill-reakit-toolbar-nw01x
Working on a fix.
Thanks for the fix @diegohaz