Open oliviertassinari opened 2 weeks ago
@Janpot It seems that we can't use inlining for the npm version: https://github.com/facebook/react/pull/30867#issuecomment-2327473985. It's for end-users. In https://youtu.be/qd5yk2gxbtg?t=861&si=zuNFXoGaxhW_i670 he says that they haven't seen clear performance benefits yet, Sebastian expands more on this in the PR.
Outlining is part of why I got the vib that it's not for UI libraries, the code diff example seems likely to slow things down.
But in any cases, time will tell, curious to explore this more.
Also came across this statement: https://youtu.be/qd5yk2gxbtg?si=UXflMBYjkDbudA2L&t=1061
Doesn't really seemed based on real benchmarking yet though
Summary
Same as https://github.com/mui/base-ui/issues/809.
The action plan would involve:
Motivation
Performance.
Now, to be fair, we likely want to invest time into this for Base UI first, since in Material UI there should be barely anything to optimize (it should be almost only about style).