hotwired-laravel / turbo-laravel

This package gives you a set of conventions to make the most out of Hotwire in Laravel.
https://turbo-laravel.com
MIT License
795 stars 48 forks source link

PWA incompatibility #65

Closed bilogic closed 2 years ago

bilogic commented 2 years ago

Hi,

Just want to feedback that my PWA service worker causes Turbo drive not to function properly, i.e. it results in full page reloads.

The sole purpose of PWA is to be able to push notifications to the clients, not so much to hijack links etc. But I recall there was some code on cache handling.

As I'm not familiar with Turbo nor PWA yet to figure out what's going on, I will just remove PWA first. Happy to provide the PWA service worker etc if you want to check things out.

Thank you.

bilogic commented 2 years ago

I managed to finish a list of tasks with Turbo and reinstalled my PWA package. No errors now. Must have been my bad code with Turbo. Thank you.