Skip to content

Does Speculation Rules Work with Livewire? #9

Answered by geisi
kornatzky asked this question in Q&A
Discussion options

You must be logged in to vote

@kornatzky
You have asked your question on the wrong repository this would be the correct one:
https://github.com/InnoGE/laravel-speculation-rules-api

Short answer: yes.

Longer answer: In the Livewire context, you could use wire:navigate with the .hover setting. This will do something similar with better browser compatibility. If you have problems with wire:navigate, then the speculation rules API is a nice alternative.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kornatzky
Comment options

Answer selected by kornatzky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants