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
{{ message }}
Repository navigation
WordPress and React Application on Separate Servers #19
I have ReactPress working, now I would like to use separate servers: one for WordPress and the other for my react application, that I can seperate concerns.
Can you explain what you mean? I'm a bit confused... Wordpress is backend, react is frontend. So you don't need a server for the react application at all. The code just needs to be embedded in WP. Maybe you're thinking of a build pipeline that publishes the javascript files to the wordpress server?
Or do you want to have a second backend besides WP? I think there is nothing blocking you from doing this already on a separate server, as long as it is accessible by your React code...
Activity
ldwrs commentedon Oct 18, 2023
Can you explain what you mean? I'm a bit confused... Wordpress is backend, react is frontend. So you don't need a server for the react application at all. The code just needs to be embedded in WP. Maybe you're thinking of a build pipeline that publishes the javascript files to the wordpress server?
Or do you want to have a second backend besides WP? I think there is nothing blocking you from doing this already on a separate server, as long as it is accessible by your React code...