Skip to main content

GritQL

npm add -g @getgrit/cli

grit init # .grit/
grit list
/repo
├── .grit
│ └── grit.yaml
├── foobar
| └── baz
├── src
└── etc

React default imports to destructured named imports

engine marzano(0.1)
language js(jsx)

`React.$reactImport` where {
$reactImport <: ensure_import_from(`"react"`),
} => `$reactImport`

grit apply react_named_imports