Re:Portals API
by Cthulhu_ on Tuesday June 30, 2020 @10:40AM
(#23690489)
Yeah IIRC (from when it was introduced) it's an easy way to add SPA-like performance to your Ruby app by only re-rendering the <body> tag; no need to rebuild your server-side rendered app to a single-page application.
[ Parent
| on HN ]
Re:Portals API
by oneweekwonder on Tuesday June 30, 2020 @01:45PM
(#23692709)
> no need to rebuild your server-side rendered app to a single-page application.
server-side rendered html by its nature is also more accessible then spa/vdom frameworks, that tries to be fast by skipping the dom and re-implementing it in js(suckers).