3 ms·
Maybe this would work for simple websites. But for web apps, it's a hard pass for me. For context, I write a web-based POS application, and waiting for a networ
by jonstaab 6y ago
Maybe this would work for simple websites. But for web apps, it's a hard pass for me. For context, I write a web-based POS application, and waiting for a network request on every micro interaction is a no-go.
There are lots of other problems with this approach that could be solved, but aren't immediately obvious, such as (similar to React) over-rendering. If someone has their focus in an input within the frame that gets swapped out, they're going to lose their focus. This has implications for accessibility as well as just regular usability.
- mattkevan 6y agoHey, the webapp Hotwire was extracted from isn’t a webapp?
- cercatrova 6y agoPeople say that Hey is definitely not as responsive as other client-side web apps like those made with React.
- dbbk 6y agoIt is a web app but not a good one.
- Scarbutt 6y agoFor micro interactions Stimulus covers that part, which is a small client-side JS framework.
- throwaway08320 6y ago> web-based POS application That's a hard pass for me!
- midrus 6y agoThe focus thing is as easy to fix as just not swapping that component. Certainly you need a different mindset to use this technique. If you try to do it the same way you do SPAs you will find a lot of problems of course