Commit fb0d7f4
committed
Replace ineffective session polling with navigate-based refresh
Session-based polling doesn't work because nothing replenishes session
data during poll requests. Instead, listen for Livewire's navigated
event to re-pull session data after SPA page transitions, which catches
banners pushed by the new page's mount lifecycle.1 parent 64c8930 commit fb0d7f4
File tree
1 file changed
+6
-1
lines changed- resources/views/livewire/alerts
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
| |||
0 commit comments