ElixirConf 2023 - Tim Gremore - Replacing React: How Liveview solved our performance problems

Discover how LiveView can replace React and solve performance problems, with a focus on simplicity, efficiency, and future-readiness, in this engaging talk at ElixirConf 2023.

Key takeaways
  • Don’t reach for a full-blown UI framework like React; LiveView can be a viable alternative for building interactive UI.
  • Start with a simple proof-of-concept to identify the problem and determine if it can be solved with LiveView.
  • LiveView is not a replacement for end-to-end testing tools like Cypress; it’s meant for testing specific components and interactions.
  • When testing in LiveView, be precise about what you’re testing to avoid complexity.
  • Consider the future-readiness of LiveView when building your application; it prepares you for future UI/UX developments.
  • Don’t overcomplicate your UI; keep it simple and efficient.
  • Be open to exploring different testing tools and libraries, such as Playwright, Cypress, or Tailwind, to find the best fit for your project.
  • Consider the pros and cons of switching from React to LiveView; weigh the benefits of efficiency and simplicity against the challenges of adapting to a new technology.
  • When adopting LiveView, be prepared to re-evaluate your testing approach and adapt to the new way of testing.