Tagged “progressive-web-app”
-
Writing Service Workers in ReScript
bucklescript documentation progressive-web-app reasonml rescript service-workerDoes your SPA work fully offline? Would you like to define a caching strategy in an exhaustively type-safe way? If so, you might be interested in this Service Worker binding for ReScript (formerly BuckleScript / ReasonML). This article documents the binding by example, including two different caching strategies and a service worker registration example.
-
Setting Up Webpack for ReScript
bucklescript progressive-web-app reasonml rescript webpackAs much as I strongly prefer ES6 modules, using them with ReScript (formerly BuckleScript / ReasonML) and ServiceWorkers just isn't practical right now. I'm writing this article so that I can easily grab the configuration the next time I need it. This is a beginner's guide because I am a webpack beginner, and, well, everyone is a ReScript beginner right now.
-
Displaying Notifications in ReScript
documentation progressive-web-app rescriptThis article will serve to document and demonstrate the
rescript-notifications
npm package, a complete set of bindings for the JavaScript-compiling ReScript language (formerly BuckleScript/ReasonML). At the close of this article, the reader should be able to enable and display notifications in an entirely type-safe and functional way.
See all tags.