StructureBuilder / react-keep-alive

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

TS编译错 #28

Closed lxyisme closed 5 years ago

lxyisme commented 5 years ago

报错截图:

image

测试代码:

<Provider include="CustomerDetails">
      <KeepAlive name="CustomerDetails">
        <div>CustomerDetails</div>
      </KeepAlive>
</Provider>
// 未使用router

react-keep-alive 版本:

lxyisme commented 5 years ago

刚发现只要在项目内引入组件就会报错,错误相同

ShenChang618 commented 5 years ago

@lxyisme 改好了,版本升级到了 2.2.0,感谢提出问题哈😀