Comment #⁨2⁩

In reply to Toby Toby

I really wanted to know, Why Hotwire? why not use Livewire for this project?

I only reason i'm still thinking about buying this package is Hotwire choice, not a deal breaker but i don't want to know yet another stack outside work.

  1. Toby Toby Waterhole Founder Jul 10, 2024
    In reply to M Manoj

    @Manoj Hotwire and Livewire are both great, but they are quite different approaches to building Laravel apps.

    Hotwire is an approach to progressive enhancement. You are basically just building a traditional hypermedia Laravel Blade app with forms and links. Hotwire is a light sprinkle of JavaScript on top which enhances those forms and links to use AJAX rather than requiring a full page reload. The app will still work fine if JavaScript is disabled or fails to load.

    Livewire, on the other hand, is a more fundamentally different approach. You use Livewire components which have proprietary paradigms for managing state and interactivity between the client and server. If JavaScript is disabled or fails to load, the app won't work.

    Hotwire's approach makes a lot of sense to me, which is why I chose it for Waterhole. It's simple, light, resilient, performant, and has a great developer experience.