-
Notifications
You must be signed in to change notification settings - Fork 2
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
93/mui5 #127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, maybe we should do it slowly to migrate everything correctly. I would suggest to keep this branch and use it in other projects but not actually merge it before it's complete (and with tests?) what do you think?
package.json
Outdated
"react": "18.1.0", | ||
"react-dom": "18.1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last time I've tried it was not possible to use react 18 with uppy (which is used to upload files). Is it still possible to use graasp-ui if we stay on react17? Or maybe we should tag the current version of ui and not update for compose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems they fixed the problem see this pull-request in uppy repo with uppy@2.10.0
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tried, the issue is from react side, they do not support cjs, which is used by uppy. The fix looks pretty easy so I hope it will be merged soon.
# Conflicts: # .eslintrc # package.json # src/ItemFlag/FlagItemButton.tsx # src/Loader/Loader.tsx # src/Main/Main.tsx # src/itemLogin/ItemLoginAuthorization.test.tsx # src/itemLogin/ItemLoginAuthorization.tsx # src/items/FileItem.tsx # src/items/LinkItem.tsx # src/items/S3FileItem.tsx # src/types.ts # yarn.lock
This PR is a first step towards moving graasp-ui to muiv5.
For the moment, all
makeStyles
calls have been substituted for the@mui/styles
alternative. In the future, using theemotion
alternative withstyled
andsx
props. Should also make sure that everything works as expected in compose.closes #93