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 useSyncExternalStore, useId, useInsertionEffect, startTransition, useTransition, and useDeferredValue — all React 18 APIs used by Elements and its dependencies.