StructureBuilder / react-keep-alive

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

无法使用lazy()方法引入组件 #30

Closed empty12138 closed 5 years ago

empty12138 commented 5 years ago

项目中使用 const OrderRecord = lazy(() => import('%/order/record.jsx')) 引入的组件使用react-keep-alive 不显示。生命周期会走,render不出界面???

ShenChang618 commented 5 years ago

@empty12138 可以看下这个例子 With React Loadable