DEV Community

loading...

Discussion on: The case for Embeddable Ember

Collapse
nullvoxpopuli profile image
NullVoxPopuli

I think this'd be more possible once the community fully migrates over to glimmer components from ember components. I could totally see glimmer components used in React environments without too much effort. Not sure they'd interact performance-wise though. Like, React components like to re-render a lot (nature of JSX)

Collapse
dustinsoftware profile image
masters.πŸ€” Author

Yeah. In my example re renders and props updates are totally ignored, but if props is passed to the useEffect array, the Ember component would get destroyed and recreated each time props change. Need a solid β€œupdate” API for this to be a good DX, haven’t thought through what could look like yet.