StructureBuilder / react-keep-alive

A component that maintains component state and avoids repeated re-rendering.
MIT License
984 stars 106 forks source link

feat: add support for react 18 type update #143

Open moonrailgun opened 1 year ago

moonrailgun commented 1 year ago

in react 18, component props type will remove default children declare so we need declare it by self

or it will throw error like this: image