Open utterances-bot opened 3 years ago
Great tutorial, I learned a lot from the article, but when copying the code from the serviceWorkerWorkbox.ts file it came with error nba line 21
Link: https://prnt.sc/wcby6g
Hey @igorSasaki, thanks for the feedback :)
It looks like you've pasted TypeScript code into a JavaScript file. You can fix this by removing : MessageEvent
.
Thanks for the quick response, there is one more error in the same file too, could you help me?
Link: https://prnt.sc/wcdi9u
Not sure where the error is here. Feel free to send me an email with more details like the error message for example (send it to me (at) felixgerschau.com)
How to Make your React App a Progressive Web App (PWA)
Explaining the most important concepts around PWAs followed by a step by step tutorial, using Webpack, Workbox and TypeScript.
https://felixgerschau.com/how-to-make-your-react-app-a-progressive-web-app-pwa/