Opened 9 years ago
Closed 9 years ago
#39533 closed feature request (invalid)
Developing a native javascript api for wordpress
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 4.8 |
| Component: | REST API | Keywords: | |
| Focuses: | javascript, rest-api | Cc: |
Description
Currently I am searching a good combination on react universal app and connecting it to WordPress.
A good option to connect nodejs with php is to use the REST API, but now I am thinking to re-write WordPress database connection and WP_Query classes in JavaScript to query against database directly.
I was wondering if I am going in a good path or not.
Change History (2)
#1
in reply to:
↑ description
@
9 years ago
#2
@
9 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Hi, and welcome to WordPress Trac. Trac is used for tracking bugs and feature requests in WordPress. Support queries like this one should be posted on the support forums instead.
Note: See
TracTickets for help on using
tickets.
Replying to torabian:
Take a look at https://github.com/Pixel2HTML/wp-nextjs
It might save you some work. A description of the work done can be found here: https://www.pixel2html.com/blog/our-journey-through-react.html