Closed jurokapsiar closed 3 years ago
@levithomason @miroslavstastny can we update this list for February and drop something similar on the February project cycle?
In January we made a good progress on this
react-*
packages to react-internal
react-theme
with converged global tokens - #16703, mergedreact-theme-provider
which sets the theme on context and also inject into DOM as CSS variablesFluenProvider
which handles RTL, and document
for converged componentsreact-make-styles
Next steps:
make-styles
to react-make-styles
and update styles to match design spec
Button
Avatar
to makeStyles
- WIP #16793PersonaCoin
(v7 mergeStyles), v8 Avatar
(SCSS makeStyles) and converged Avatar
(makeStyles) - #16871makeOverrides
- compare performance with makeStyles
@miroslavstastny can you please add items below to the tracking list?
Based on https://github.com/microsoft/fluentui/pull/16793.
Previously there was tokens
prop, but in makeStyles()
we don't have it. We should figure out an approach.
Avatar
component has some interactions, there are definitions for transitions. Should they become a part of them?
*Darker
definitions for shadows
Resolved: Avatar
's design spec uses *Darker
variants, we don't have them in react-theme
definitions. We should follow up with design and update spec or theme & styles definitions.Avatar
spec has been updated to no longer use the "darker" shadows -@behowell
makeOverrides
- compare performance with makeStyles
- #16923
makeStyles
, less than 10% slower compared to SCSSreact-avatar
makeOverrides
workreact-avatar
, makeOverrides
mergedreact-components
created - #17100 alpha
- #17093react-components
Continues in #17242
Goals
makeStyles-next
is performant enoughTasks
makeStyles
stylis
)makeStyles
Provider
@layershifterThemeProvider
should workmakeStyles
inreact-button
@khmakotoreact-button
is not used anywhere and we can break it?react-button
react-button
to Northstar docs @levithomasonreact-button
which are present in N* button (@xugao worked on that previously) - talk to @xugao and @khmakotoMotivation
In Nov/Dec iteration, we implemented a PoC of next version of
makeStyles
in #16082.Synthetic performance tests show that the new
makeStyles
is on par with Emotion, 10-20% slower than native CSS and twice as fast as Fela.Unfortunately, comparison with
mergeStyles
(v7) and previous iteration ofmakeStyles
(v8) is still unclear -mergeStyles
(v7) seem to be equally fast but it has been blamed for its slowness which is one of the reasons to get rid of that. I am not sure ifmergeStyles
is generally slow or only has perf issues in specific use cases.makeStyles goals
Risks