We want to start using Grav for a portal. What do you think about using ReactJs instead of Twig ? Advantages/disadvantages, easy/complicated, experiences, it is against Grav architecture ? Thanks for all the answers.
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Support
I've used it on some pages of a test project with Grav. I used a plugin called Grav Pages as Data to return the page data as JSON and then it made it pretty easy to work with in React.
I used React in combination with Twig. Just for a couple widgets and page functionality. I'm sure you could use React by itself with Grav as the backend CMS, but I've never done so.
Hope that helps!
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 57 | 14 hours ago | ||
| 2 | 65 | 17 hours ago | ||
| 1 | 33 | 18 hours ago | ||
| 2 | 68 | 5 days ago | ||
| 2 | 60 | 6 days ago |