小编tan*_*tan的帖子

新的 <SaveContextProvider>,React-Admin 的弃用消息

自从我将react-admin更新到版本3.10.0后,我在Chrome控制台中看到了这条消息,我试图深入研究该文档,但找不到任何信息或示例。任何人遇到过这个,或者幸运的是react-admin的任何成员看到这个,请帮忙!

Edit or Create child components must be used inside a <SaveContextProvider>. Relying on props rather than context to get persistence related data and callbacks is deprecated and won't be supported in the next major version of react-admin.
Run Code Online (Sandbox Code Playgroud)

react-admin

5
推荐指数
1
解决办法
1124
查看次数

标签 统计

react-admin ×1