2022-09-22, 16:15–16:45 (Europe/Lisbon), Auditorium
We took the plunge and replaced the 2-year-of-work React UI of our SaaS product with simple Django templates and htmx in a couple of months. We’d like to share our experience with you, with concrete indicators on various aspects, and convince your CTO!
🔍 You’ve probably heard of htmx, maybe seen talks about it (maybe even right here last year). Demos are great, potential seems enormous. Maybe you've heard it's great for quick prototyping and tried it.
✅ That's what we just did at Contexte, by getting rid of the React SPA of a SaaS product. It wasn't a easy decision to make (because the UI holds some fairly complex interactions and we were told such interactions require client-side state management), but it's now such a relief. Maybe if we share our experience the decision would be easier to make for others.
💬 Draft outline of the talk:
- What is Contexte? mainly about our Product/Tech team size and organization
- What is our first SaaS product, Contexte Scan (click here for a Google-translated product presentation)? a quick demo, with an emphasis on the most complex UI elements (I'm not here to sell it to you 😉 )
- Our React UI: bulky, buggy, constantly refactored, dependency hell (quick tour, some figures)
- Our htmx UI: a bit of code here, with examples of how you replace client-side state management with just some htmx-loaded HTML fragments
- Impact on end-users: same UX, better performances
- Impact on the team: faster, fullstack, more agile
- Impact on the planet: smaller footprint on end-users computers
- Conclusion: go for it!
I have been a developer for 15 years. First bare PHP, then PHP/Symfony2, then a bit of Java/SprintBoot, and now happy with Django for the past 5 years.
I care mainly about building good products with a team I'm proud of being part of.
I'm also interested on how we can, as software developers, reduce the environmental footprint of what we create.