Closed alexcjohnson closed 1 month ago
And perhaps for runtime typechecking of TS components, right?
And perhaps for runtime typechecking of TS components, right?
No I think it should be generated in a .js
file at generation time to have less overhead. The check is basically just window['componentlib'].component.propTypes(props, typeSpecName, componentName, ...)
so the js file can set the propType for the components on the window.
So we should just delete the metadata.json
file before deployment?
Any reason we need
metadata.json
files to be human-readable? In some cases this is a large fraction of the total package size, eg https://github.com/snehilvj/dash-mantine-components/pull/347 (cc @AnnMarieW)optionals
CHANGELOG.md