You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The approach in the article is to use WordPress's React installation, which it uses for Gutenberg and full-site editing. I can't think of a way I would hate more to develop React apps. Sorry, for being that harsh.
I think the implementation should be pretty straight forward, if I find the time or somebody else is pitching in.
We probably only need to make it possible to set more page slugs for a certain appname. The code at the moment does that:
Activity
MauriceMorrey commentedon Feb 28, 2022
Possible solution? See end of article.
https://javascript.plainenglish.io/how-to-add-a-react-app-to-wordpress-pages-61aee723d607
rockiger commentedon Mar 7, 2022
I couldn't find anything that would help.
The approach in the article is to use WordPress's React installation, which it uses for Gutenberg and full-site editing. I can't think of a way I would hate more to develop React apps. Sorry, for being that harsh.
I think the implementation should be pretty straight forward, if I find the time or somebody else is pitching in.
We probably only need to make it possible to set more page slugs for a certain appname. The code at the moment does that:
One solution would be to create 'more' apps or add a list of slugs. But the first approach seems more backwards compatible.