React-admin: ra-core: Warnings due to deprecated requires referencing [email protected] package

Created on 20 Mar 2019  路  1Comment  路  Source: marmelab/react-admin

At least ra-core package performs deprecated require calls.

See release notes for v4.8.0 of history package:
https://github.com/ReactTraining/history/releases

Accordingly we get warnings in the console:
Warning: Please use require("history").createHashHistory instead of require("history/createHashHistory"). Support for the latter will be removed in the next major release.
Warning: Please use require("history").createBrowserHistory instead of require("history/createBrowserHistory"). Support for the latter will be removed in the next major release.

Steps to reproduce:
Perform
yarn upgrade
to get the latest packages and load page.

Environment

  • React-admin version: 2.8.2
bug

Most helpful comment

Hi @fzaninotto, I had this issue which I was able to fix by updating the library.
Thanks for all your hard work with react-admin! It's truly inspiring 馃檶

>All comments

Hi @fzaninotto, I had this issue which I was able to fix by updating the library.
Thanks for all your hard work with react-admin! It's truly inspiring 馃檶

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ericwb picture ericwb  路  3Comments

pixelscripter picture pixelscripter  路  3Comments

yangjiamu picture yangjiamu  路  3Comments

waynebloss picture waynebloss  路  3Comments

fzaninotto picture fzaninotto  路  3Comments