You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a developer with plenty of Django experience but no React, who was hoping to get started using this example - however, there doesn't seem to be any documentation on how to build it. There's a 97000-line index.js file that looks like it was auto-generated - but no description on how this was done. I'm assuming it's built with webpack, but npm run build dies with a blizzard of errors like
TS2786: 'Route' cannot be used as a JSX component.
Its instance type 'Route<{}, string>' is not a valid JSX element.
Which it looks like was part of a breaking change in React.js and the packages in the client module aren't pinned to a working earlier version?
Is there an up-to-date version of this repo, or is using one of the other demo repos a better solution?
The text was updated successfully, but these errors were encountered:
I've found the issue. @types/react-redux loads the latest @types/react package (18.0.xx) and it conflicts with referenced @types/react ^17.0.1 version.
I've tried to add package versions override in package.json file, but has no luck
Probably I need to bump react to V18 and it will fix the issue
I'm a developer with plenty of Django experience but no React, who was hoping to get started using this example - however, there doesn't seem to be any documentation on how to build it. There's a 97000-line
index.js
file that looks like it was auto-generated - but no description on how this was done. I'm assuming it's built with webpack, butnpm run build
dies with a blizzard of errors likeWhich it looks like was part of a breaking change in React.js and the packages in the client module aren't pinned to a working earlier version?
Is there an up-to-date version of this repo, or is using one of the other demo repos a better solution?
The text was updated successfully, but these errors were encountered: