It’s actually really nice that we can now do <MyComponent.mySubcomponent/>
not in the first place because wrapping components in modules (and exporting them) causes a fast-refresh reset (because an object is exported with a make function instead of just a react component, so fast refresh needs to bail).
But a caveat is that to my knowledge we cannot reuse these component in the same file because there is no CurrentFile
(or something) module available, and <mySubcomponent/>
will desugar to a hostcomponent. Or am I missing something?