Relative Content

Tag Archive for javascriptreactjswordpress

How to run a full-fledged react project on WordPress?

I need to run a react project on WordPress.
How can I do that?
I Googled it many times, but it says how to parse something from WordPress, for example, posts for React. But I need to directly install a react site on WordPress so that I can add, for example, custom fields, etc.
I will be very grateful if you advise me how to do it

How do I deploy a React app to my WordPress site?

I am new to React and trying to add my React site to a server so that I can test out a php form processing script. I have run the npm run build command and uploaded the resulting ‘dist’ folder to the server folder that can display static html files.

WordPress save function not working on the frontend

I’m creating a custom block (theme) on WordPress Gutenberg and I’m using React, the functionality works on the edit function which is the WP admin area (this makes me believe the code is good) but doesn’t work on the front-end(website) and I have no idea that’s happening. It is a gallery section where each videos play when you click on it
My code below