TALL stack with Jetstream on Laravel v.8.4

Have just finished knocking up a new TALL stack to explore Jetstream, Livewire and Alpine. Might make another branch for Breeze, but as Jetstream covers more bases I decided to start with that. It uses Sanctum behind the scenes to first check the session, and if no session cookie matches, it checks api tokens. Only then, after checking both, does it return the authentication status of the user.

With regards Livewire, on first glance it seems to tightly-couple the frontend with the back. Perhaps it's just that, knowing Vue, I tend to think in terms of letting the browser do a lot of the heavy lifting as you're not then paying for processor cycles. There are also a couple of other things I'm not entirely convinced about yet, but I'll continue exploring for the day and see where it leads.

As an aside, using n instead of npm to handle node versions makes it effortless.

With regards the Livewire scripts, seeing data go into a component as props and then not seeing either Vue or React devtools show up is a little disconcerting, but I'll reserve judgement until later today when I've fully explored the in's and out's of it.

Category: Tools

Back to: Articles or Home