The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
Iβm struggle to understand how wp-source works, so I re-read the docs, and tried out the example there.
I find a typo: in the example code of the How to use section, the if (data.isCategory) { has no closing bracket }.
Also, the code does not work as it is, if the actions.source.fetch("/category/nature/"); is not within React.useEffect. It would be nice to either change the code, or explain the need of useEffect.
mburridge2
Hi @koli14
Thanks for the heads-up. We are in the process of updating our documentation so we will certainly take the items you point out into account.
mburridge
Opened
4
mehul5
Hello @mburridge please make longer explanation for Wp-source with Good number of example,
Thanks.
1 Like
mburridge6
Hi @mehul
Thanks for your comments. We will certainly take them into account while we update the documentation. Adding a good variety examples is one of our priorities.