3 ms·
Though I am a bit curious about why WordPress would need React in the first place. It's not like they're building a real-time app. Am I missing something here?
by samirillian 9y ago
Though I am a bit curious about why WordPress would need React in the first place. It's not like they're building a real-time app. Am I missing something here?
- claudiulodro 9y agoBut they are building a real-time app![1] The new Gutenberg editor is going to be much more dynamic than the old editor. https://wptavern.com/wordpress-new-gutenberg-editor-now-available-as-a-plugin-for-testing https://wptavern.com/wordpress-new-gutenberg-editor-now-avai...
- bigbassroller 9y agoWordpress has a pretty good JSON api that you can use with crud operations: https://wordpress.org/plugins/rest-api/ https://wordpress.org/plugins/rest-api/ There's also already a theme that uses React: https://themes.redradar.net/foxhound/ https://themes.redradar.net/foxhound/ With those two things you could build a pretty good web app. The only thing is you'd be in WordPress land and isn't glamorous.
- rmccue 9y ago> Wordpress has a pretty good JSON api that you can use with crud operations: https://wordpress.org/plugins/rest-api/ https://wordpress.org/plugins/rest-api/ FYI: this shipped in WordPress 4.7 as part of the core software, and is now available on every WordPress site. (e.g. https://www.wired.com/wp-json/ https://www.wired.com/wp-json/) > The only thing is you'd be in WordPress land and isn't glamorous. We tried to shield REST API users from much of the nastiness of WordPress' backwards compatibility (inconsistent field naming, date weirdness, etc), but yeah, it's still not perfect. (I'm the co-lead on the REST API focus, happy to answer any Qs!)
- OtterCoder 9y agoHey, I'm not a WP user, but I'm a huge fan of the work you guys do, and the impact you have. WP has done so much to bring the power of the web to the people. No questions, just thanks. :)
- jedwards1211 9y agoYes, that React is really convenient for building practically any type of web app, not just real-time apps, and they probably want the slick and seamless user experience they can get by building a progressive web app in React.
- chrisco255 9y agoReact has the largest front end ecosystem short of JQuery. And it's a great declarative way of describing UI.