form-js
form-js copied to clipboard
Do a clean export of `getSchemaVariables`
What should we do?
Currently if you want to import only getSchemaVariables
it will bundle UI deps like Preact into your static files. This is happening because we don't have an specific export for getSchemaVariables
and because we store each component config together with JSX
To avoid the UI deps we need to split the config from the JSX
Why should we do it?
To allow consumer having smaller bundles in their apps/libs