Closed nmn closed 1 month ago
Resolves #88
Creates a new file called StrictTypes that re-exports all the element types, DOM Props and Strict Props.
StrictTypes
The index.js for both dom and native are then able to re-export this one common file.
index.js
dom
native
After this PR, all the various Element or other types that might be need can be imported directly from 'react-strict-dom'.
'react-strict-dom'
compressed-size: runtime library
Size change: 0.00 kB Total size: 18.78 kB
Thanks, LGTM!
Resolves #88
Creates a new file called
StrictTypes
that re-exports all the element types, DOM Props and Strict Props.The
index.js
for bothdom
andnative
are then able to re-export this one common file.After this PR, all the various Element or other types that might be need can be imported directly from
'react-strict-dom'
.