useServiceWorker(path = '/') #298
                  
                    
                      wmertens
                    
                  
                
                  started this conversation in
                External Library Ideas
              
            Replies: 1 comment
-
| 
         discussed, we think this should be implemented as a library  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
What is it about?
A better service worker integration
What's the motivation for this proposal?
Problems you are trying to solve:
Goals you are trying to achieve:
Proposed Solution / Feature
What do you propose?
Instead of
<ServiceWorkerRegister />:This allows checking the state, and it still can help with bundling. When you pass a path
/foo, it expects there to be/src/routes/foo/service-worker.ts, and it will register it for all windows opened at/foo.Links / References
No response
Beta Was this translation helpful? Give feedback.
All reactions