RailsConf 2019 - Rethinking the View Layer with Components by Joel Hawksley
HTML-код
- Опубликовано: 21 окт 2024
- RailsConf 2019 - Rethinking the View Layer with Components by Joel Hawksley
_______________________________________________________________________________________________
Cloud 66 - Pain Free Rails Deployments
Cloud 66 for Rails acts like your in-house DevOps team to build, deploy and maintain your Rails applications on any cloud or server.
Get $100 Cloud 66 Free Credits with the code: RailsConf-19
($100 Cloud 66 Free Credits, for the new user only, valid till 31st December 2019)
Link to the website: cloud66.com/ra...
Link to sign up: app.cloud66.co...
_______________________________________________________________________________________________
While most of Rails has evolved over time, the view layer hasn’t changed much. At GitHub, we are incorporating the lessons of the last decade into a new paradigm: components. This approach has enabled us to leverage traditional object-oriented techniques to test our views in isolation, avoid side-effects, refactor with confidence, and perhaps most importantly, make our views first-class citizens in Rails.
#railsconf #confreaks
Github catching up with master will single-handedly boost RoR usage by a whole lot, heck maybe a new usage hype. This in a example of killer feats that can come from big companies being on par with stable rails. Thank you Eileen and all the github team!
5 yrs later JS is enabled by default everywhere. Even the enterprise is building apps using Nuxt/ js etc ..
For those looking for the GitHub repository the speaker is talking about, here it is: github.com/joelhawksley/actionview-component-demo
Have a drink ever ttime he says "the reality is",, and yull be hamberred likem,e.
This looks a lot like github.com/trailblazer/cells, I wonder why GitHub didn't just use that. Would be cool to have it built into Rails though.
JSON response + React components