3 ms·
This is excellent, thank you for writing this. I’ve wanted to play with LiveView but haven’t had the time. But wanted to know exactly what’s happening (especial
by atonse 5y ago
This is excellent, thank you for writing this. I’ve wanted to play with LiveView but haven’t had the time. But wanted to know exactly what’s happening (especially on “first paint”, others have written about the morphdom stuff)
I really don’t see any reason why we can’t embed LiveView widgets into existing SPAs as a method of transition. Looking at this lifecycle it seems entirely possible. Also it would make an amazing framework for embedding widgets on third party sites.
I know people say it has to be served from a fully rendered Phoenix page but I don’t see that limitation in any of the code.
Excited to play around with it.
- thibaut_barrere 5y agoTo clarify, I'm just the poster, not the author :-) I happen to have a very good time using LiveView in a number of scenarios, and found the article good enough to be shared.