grobitto
Possible bug? Solidjs lazy() caches network errors
Service workers does not work on Smart TV's. Guidelines require app to correctly present network error to user and recover after network is back, which is impossible without full page reload as dynamic import error is cached forever by browser
11 replies
Possible bug? Solidjs lazy() caches network errors
Looks like there is a global problem with browsers caching error response for dynamic modules:
https://github.com/whatwg/html/issues/6768
11 replies
How to detect if I got to the Route with back button or navigate(-1)
after a few hours of digging I found that useBeforeLeave relies on history.state _depth property to trigger correctly for history traversal. Unfortunately I was not expecting someone else to mess with history and erased it with my data. If I keep this property everything work as expected.
5 replies