New syntax needed with "history"
AlexandraBeautyman opened this issue · comments
I get these two browser errors:
Warning: Please use require("history").createBrowserHistory
instead of require("history/createBrowserHistory")
. Support for the latter will be removed in the next major release.
warnAboutDeprecatedCJSRequire.js:17 Warning: Please use require("history").createMemoryHistory
instead of require("history/createMemoryHistory")
. Support for the latter will be removed in the next major release.