Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with React 18.2 #46

Open
pegues opened this issue Oct 25, 2022 · 0 comments
Open

Issue with React 18.2 #46

pegues opened this issue Oct 25, 2022 · 0 comments

Comments

@pegues
Copy link

pegues commented Oct 25, 2022

The export and print buttons do not work in the latest React. The console output is below. Any chance of getting this fixed?

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot react_devtools_backend.js:4026:25
The above error occurred in the component:

NavLinkWithRef@http://localhost:3322/static/js/bundle.js:54650:9

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries. react_devtools_backend.js:4026:25
Uncaught Error: useLocation() may be used only in the context of a component.
invariant utils.ts:757
useLocation hooks.tsx:97
useResolvedPath hooks.tsx:305
NavLinkWithRef index.tsx:444
React 16
dataRender utilities.js:101
dataRender utilities.js:93
dataRender utilities.js:91
onDataRender index.js:116
onExport index.js:121
onClick index.js:223
onClick ui.js:57
React 23
js index.js:20
factory react refresh:6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant