Open OlliTietavainenVaadin opened 1 month ago
Is it technically possible to do all this right now, or are there any limitations in Hilla that must be addressed first?
Is it technically possible to do all this right now, or are there any limitations in Hilla that must be addressed first?
Technically yes, but it requires hacky workarounds right now. Related issues: https://github.com/vaadin/hilla/issues/2788 https://github.com/vaadin/hilla/issues/2789 https://github.com/vaadin/hilla/issues/2790 https://github.com/vaadin/hilla/issues/2791
Service workers are useful for cases where extra caching and progressive improvement are needed, such as offline and poor network connectivity situations. Right now, there's no clear way on how service workers should interact with Hilla applications and Hilla endpoints. The Vaadin Way could document opinionated best practices for working here.
Some ideas for topics:
message
events - what to send and what not to sendmessage
event handling order - should Vaadin's internal messages be handled first?