Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

ReactJs with Grav

Started by florin 9 years ago · 1 replies · 2301 views
9 years ago

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.

9 years ago

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!

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by Paul Hodges, 4 weeks ago
19 484 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago