Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

ReactJs with Grav

Started by florin 9 years ago · 1 replies · 2346 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 complanar, 6 days ago
6 138 13 hours ago
Support · by Rick Beebe, 6 days ago
2 100 2 days ago
Support · by blu3prince, 3 days ago
0 50 3 days ago
Support · by alex, 4 days ago
2 92 3 days ago
Support · by Marcel, 2 weeks ago
1 142 4 days ago