Re:Escaping the SPA rabbit hole with modern Rails
by baddox on Sunday July 08, 2018 @06:31PM
(#17486640)
Surely most creators of SPAs are using some routing library, and I’m not aware of any routing libraries that don’t handle this anchor tag click behavior by default. It’s really a trivial amount of “responsibility” to take on.
[ Parent
| on HN ]
Re:Escaping the SPA rabbit hole with modern Rails
by acdha on Sunday July 08, 2018 @11:19PM
(#17487745)
Perhaps, but it’s something I encounter fairly regularly, especially when an unreliable network connection or other JavaScript failure breaks something with poor error handling. Again, not a showstopper but it’s a decision point: if you aren’t committed to testing this kind of thing on every release, you don’t have the resources to build an SPA.
Re:Escaping the SPA rabbit hole with modern Rails
by emodendroket on Monday July 09, 2018 @10:13AM
(#17490283)
It's no different than stuff like not trusting browser input or avoiding a massive session when you're working on a Web app: it's simply basic best practice stuff that you don't even have to think about if you have an idea what you're doing.