@extrojs/react
v0.2.0
Published
Base React runtime for Extro: ambient env typing for extension surfaces.
Maintainers
Readme
@extrojs/react
Base React runtime for Extro. Today this is just the ambient typing for import.meta.env on extension surfaces, so import.meta.env.EXTRO_PUBLIC_* is typed with no setup.
The router lives in @extrojs/router, which re-exports this package, so importing the router is enough to pick up the env types. You rarely depend on @extrojs/react directly.
Installed automatically as a dependency of extrojs.
Docs
License
MIT
