使用 material-ui 对 searchkit 做出反应(禁用分页)

react searchkit with material-ui (pagination is-disabled)

I have an issue with searchkit using with material-ui. Both of libraries needs reactjs, but different versions. First time, when i used only searchkit with react, my app worked good, with no errors and warnings. Then i connected material-ui to my app, and got warnings like so:

But the main thing, that searchkit pagination worked well. Versions of libraries that i used was

Then i updated all to the latest versions, and searchkit Pagination has disappeared. I still can see it in DOM, but component thinks, that there is only one page to show, and has class "is-disabled", amount of results is more than 100 and hitsPerPage={10 } 尽管。 I tried to return to the previous versions of libraries and I've got the same warnings, but pagination is still disabled. How can i fix that issue ? Help me, please.

所以问题出在 lodash 的回归上。 开发人员建议使用 lodash@4.13.1,如果你使用 webpack,请执行以下操作: resolve: { alias: { react: path.resolve('./node_modules/react'), lodash: path.resolve('./node_modules/lodash') } }

他们也很难过,他们会解决这个问题。