React 16 and 17 compatibility
Gram Elements now supports React 16 and 17 applications through a new Vite plugin that polyfills React 18 APIs. Applications running older React versions can add a single line to their Vite config to automatically polyfill,
,
,
,
, and
— all React 18 APIs used by Elements and its dependencies.
