When comparing Gatsby JS vs Grav, the Slant community recommends Gatsby JS for most people. In the question“What are the best static site generators?” Gatsby JS is ranked 9th while Grav is ranked 17th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro No page reload when navigating
Pro Based on React.js
Editing markup is phenomenally easy when you have components.
Pro Live reload
Every change you make can be almost immediately seen in a browser.
Pro A lot of plugins
Gatsby offers a lot of plugins to integrate tools like SASS, typescript, styled components, etc.
Pro Very active development
Gatsby is very actively developed and the maintainers are very helpful.
Pro Built-in code and data splitting
Pro Open Source
Pro Take content from any source
Gatsby can generate the pages with content from any sources like Drupal, Wordpress, Contentful, etc. If the source plugin is not coded for your solution, you can create it.
Pro A static site and a React app in one
The static pages are generated by Server Site Rendering of the React app. So you have all benefits of a static site, and all benefits of a React app, which is very powerful.
Pro GraphQL Data Layer
Pro A lot of examples
Gatsby have a lot of examples sites in his github repository.
Pro Beautiful out-of-the-box blog starters
Pro Can be hosted with any provider
Since Grav is built with PHP, it can be hosted on almost all web hosting providers. If the provider supports Wordpress, they also support Grav.
Pro Easy creation of templates and content
Supports Twig for templating with Parsedown for fast Markdown and Markdown Extra support.
Pro Easy to use admin panel
Well designed, easily usable and modern admin panel is a boost as it lets Clients edit the content easily.
Pro Custom fields for content
YAML-based page headers allow you easily add custom dynamic fields to your content.
Pro Open-source and free
Pro Extensive Documentation
Documentation is not an afterthought! Grav has a dedicated documentation site plus loads of tutorials and guides.
Pro Extensive documentation
Documentation is not an afterthought. Grav has a dedicated documentation site plus loads of tutorials and guides.
Pro Built-in package manager
Pro CLI Tools
Command line tools such as dependency installation, cache clearing, user creation, and backups.
Cons
Con A bit raw
You'll maybe have to tweak some JSX if you want something that's not covered by available themes.