Only a side note. Every client action will result in a server ajax call. Yes, fully automated. But I don't want every click on a plus or a minus or on an accordion will make an ajax call. This cannot scale
PHP & JavaScript engineer/ dog enthusiast. He is working on [PluginMachine](https://pluginmachine.com) a framework for WordPress plugin development.🌱🌵🌲
You're correct about clicks. I don't think that part of this scales. That isn't a reason to say the whole idea doesn't scale.
If it was something with a lot of clicks, I'd write some client-side JavaScript to handle it. What I actually used this for was pagination, search, and other things that the end user perceives as page changes, this makes it faster for them.
You do have the possibility to change some data binding parameters in order to prevent too much requests, you can reproduce any SPA with livewire with the same amount of ajax calls
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Only a side note. Every client action will result in a server ajax call. Yes, fully automated. But I don't want every click on a plus or a minus or on an accordion will make an ajax call. This cannot scale
I plan to use it in conjunction with a roadrunner ( roadrunner.dev/ ) to avoid performance overhead and scale.
You're correct about clicks. I don't think that part of this scales. That isn't a reason to say the whole idea doesn't scale.
If it was something with a lot of clicks, I'd write some client-side JavaScript to handle it. What I actually used this for was pagination, search, and other things that the end user perceives as page changes, this makes it faster for them.
True! That's why Caleb recommends using Alpine* or even vanilla JavaScript in addition to Livewire. It's perfect for this kind of interaction 😉
You do have the possibility to change some data binding parameters in order to prevent too much requests, you can reproduce any SPA with livewire with the same amount of ajax calls