DEV Community

Discussion on: React is awesome but have you tried fresh?

 
asheeshh profile image
ashish

yes i think, according to what i have read, fresh uses just in time rendering, and also uses partial hydration through islands, and i don't think refreshing on adding a new todo is an expected behavior as i'm not using forms, right?

Thread Thread
 
pyrsmk profile image
Aurélien Delogu

Mmmh ok. I read the documentation a bit. So it seems JS is sent to the client when islands are used, is that it ? Because without it I cannot see how all of this could work ahah.

But that's cool, Fresh seems really equivalent to Phoenix (an Elixir framework). Those hybrid frameworks are the future IMHO.

Thread Thread
 
asheeshh profile image
ashish

yes js is sent to the client when its needed, and not all components are hydrated, only the islands are hydrated i.e. provide interactivity