Replies: 2 comments
-
Sure, I do not mind adding a link to tss-react to the migration guide. You are welcome to submit a PR with the following documentation:
I haven't seen the entire implementation, but here are several notes based on 7.0 changes:
|
Beta Was this translation helpful? Give feedback.
-
Hello @rtivital, Great, I'll work on it then. The discussion can be continued here: garronej/tss-react#206 |
Beta Was this translation helpful? Give feedback.
-
Hello Mantine Developers,
With the release of version 7, Mantine has deprecated the
createStyles
function. This change necessitates a comprehensive rewrite of styles for migration.However,
tss-react
offers a seamless transition that requires only minor modifications.MUI also recommends it as a strategy for migrating to V5, as detailed in the MUI documentation.
As the solution's author, I am keen to submit a Pull Request to the 6.x to 7.x migration guide to propose tss-react as a possible alternative to CSS modules and offer detailed instructions for its implementation, should you be open to this suggestion.
As evidence of its effectiveness, I would like to point out the commafeed project, which successfully utilized
tss-react
for upgrading. The feedback from @Athou has been positive regarding this solution.To further simplify the process, I propose adding an additional export,
"tss-react/mantine"
, which would be pre-configured with the mantine theme, similar to the MUI configuration available viaimport "tss-react/mui"
.Please let me know if this contribution interests you.
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions