5 ms·
I'm out of the loop. what is New Magic?
by marinhero 6y ago
I'm out of the loop. what is New Magic?
- maxfurman 6y agoDHH has been teasing something called "New Magic" on Twitter but beyond that we don't know much.
- ibraheemdev 6y agoDHH mentioned "NEW MAGIC" when he released the Hey stack on twitter [1]: > The HEY stack: - Vanilla Ruby on Rails on the backend, running on edge - Stimulus, Turbolinks, Trix + NEW MAGIC on the front end There has been a lot of speculation since then on what New Magic is. It was supposed to release at the same time as hey.com but they decided to postpone it till later. Many people think/hope that it is something similar to Phoenix LiveView 1: https://twitter.com/dhh/status/1275901955995385856 https://twitter.com/dhh/status/1275901955995385856
- nickjj 6y agoI asked DHH the other day about the server side aspects of NEW MAGIC and he replied with: https://twitter.com/nickjanetakis/status/1334940603457658883 https://twitter.com/nickjanetakis/status/1334940603457658883 So we know NEW MAGIC will involve a substantial amount of integration with Rails on the server side but it could technically be ported over to other frameworks. It's interesting because StimulusJS 2.0 and Turbolinks 6 are fully client side based on previous tweets by members of Basecamp. I wonder if NEW MAGIC will be focused on broadcasting real-time updates to the front-end while partial page updates that would normally be server rendered templates could be handled by Turbolinks 6 alone. That would be great news for anyone wanting to create amazing feeling apps with any back-end stack, without going the SPA route.
- mhw 6y agoThis article[1] and the others in the series give an idea of the direction by analysing how hey.com works. The page-updater library looks to bring a more declarative replacement for server-generated JavaScript responses, for example. [1] https://dev.to/borama/a-few-sneak-peeks-into-hey-com-technology-vi-template-page-updates-11if https://dev.to/borama/a-few-sneak-peeks-into-hey-com-technol...
- bdcravens 6y agoProbably something similar to Stimulus Reflex/LiveView
- deleted 6y ago[deleted]