RailsConf 2023 - Hotwiring My React Brain by Aji Slater

Learn how to hotwire your React brain by changing your mental model, embracing components and hooks, and adopting Turbo and Stimulus for fast and interactive web applications.

Key takeaways
  • When transitioning to Hotwire, it’s essential to change your mental model and think in terms of components and hooks instead of Turbo.
  • Hotwire is not an SPA (Single Page Application) framework, but rather a set of components that can be used to build fast and interactive web applications.
  • Turbo frames are used to scope navigation and provide a way to update parts of the page without reloading the entire page.
  • Stimulus is a system that allows for graceful interaction between the client and server, and is used to manage state changes and update the UI in real-time.
  • Hotwire was challenging to learn because it requires a different mental model and approach to building web applications.
  • The author’s experience with Hotwire was made more difficult by the need to change their mental model and approach to building web applications.
  • Hotwire is not a substitute for React, but rather a complementary technology that can be used to build fast and interactive web applications.
  • The author’s experience with Hotwire was made more difficult by the need to learn new concepts and building blocks, such as Turbo frames and Stimulus.
  • The author’s experience with Hotwire was made more difficult by the need to change their mental model and approach to building web applications, and to learn new concepts and building blocks.
  • Hotwire is a powerful technology that can be used to build fast and interactive web applications, but it requires a different mental model and approach.
  • The author’s experience with Hotwire was made more difficult by the need to learn new concepts and building blocks, such as Turbo frames and Stimulus.