Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

ReactJS or VueJS for Wordpress Plugin Development?

Hello my friends. I've decided to write my first professional Wordpress Plugin right now! :D. I read many topics on internet about ReactJS, VueJS and Wordpress Plugin Development. I can't choose ReactJS or VueJS for my plugin. Goal of my plugin is allow user to change something in Admin Dashboard (so I think my plugin will have a part in admin dashboard, can I use React or Vue for my plugin admin interface?), my plugin will also can change its data in Theme Customization (Appeareance -> Theme Customize) like anything Flatsome theme can do in their Customization Interface. OK, simplify my question is how can I build my plugin which have both back-end and front-end interface? And which framework I can choose for that ? ReactJS or VueJS Thank for reading my post :)

1 Answer

Micha Krapp
Micha Krapp
2,228 Points

For WordPress Admin you do not need both - the standard way is with PHP.

If you want to use one then go with React, since soon it will be part of core with Gutenberg.

Have a look at the Plugin Redirection, it also uses React https://wordpress.org/plugins/redirection/