An ecosystem of lightweight packages and helpers to integrate full PWA features into Remix πΏ
After weeks of building, iteration, debugging and testing, we are finally please to announce Remix PWA v3.0 to you! The third major release of remix-pwa
ships with a lot more changes, updates, fixes and even additions you didn't see coming. A huge thanks to all of you for your contributions, issues, PRs, ideas, RFCs and discussions. This was one huge teamwork and a big W for PWA in the Remix community πΏ!
It's more than just new features but rather a whole ecosystem shipped this time around π.
remix.config.js
and build away!remix-pwa
utilizes a new CLI engine for it's executable that also hooks into the compiler for a blazingly, fast setup experience https://github.com/remix-pwa/monorepo/pull/6
workerLoader
and workerAction
, handler functions in your route file that run exclusively in the worker thread.@remix-pwa/client
and @remix-pwa/sync
@remix-pwa/sw
got a major bump! Still the same old package you knew with a few additions and removals.@remix-pwa/strategy
just landed. The new breakaway from the sw
package, introducing a new approach to handle caching strategies in remix-pwa
https://github.com/remix-pwa/monorepo/pull/35.StaleWhileRevalidate
is the latest addition to the famous four you knew from the previous versions https://github.com/remix-pwa/monorepo/commit/acf8f9e6b59d15d0d4097a93c60388126607c317
LiveReload
. Which is simply a Remix's LiveReload
with HMR support for service workers.@remix-pwa/cache
has landed π! Introducing RemixCache
: a thin wrapper around the browser Cache
API with support for expiration and sizing. Also ships support for cachified
out of the box π¦errorHandler
, defaultFetchHandler
and getLoadContext
to help you take service workers to the next level. Inspired by none other than Remix!remix-pwa
executable, we shan't be hearing from them in a long time.sw
and strategy
. Now, you can utilise a service worker easily and cache at your whim without bordering on caching.Thanks to all the amazing contributors that made this whole thing possible β€οΈ!
Second major release of remix-pwa
is out! With it comes a lot of changes, updates and contributors. Thanks to every single one of you for your issues, contributions, PRs and suggestions π
remix-pwa
into multiple packages to allow for independent and extensible development in all arrears of Progressive Web Apps.@remix-pwa/push
v2
routes (https://github.com/remix-pwa/remix-pwa/pull/85)remix-pwa
messing up root files anytime the executable is run.postMessage
breakdown anytime anytime promise is sent through it (https://github.com/remix-pwa/sw/pull/12)@remix-pwa/sw
Thanks to all the amazing contributors that made this whole thing possible β€οΈ!
A while after the release of v1.0, we have finally bundled all the latest changes and shipped right to your doorstep!
Changelog:
remix-pwa
now detects and changes accordingly.npx remix-pwa@latest -h
to find out :wink:. Thank you @dev-afzalansariREADME.md
and added release notesWe've been through a lot. Testing, building, editing and moving forward. I present to you, official v1 release of remix-pwa
, a major milestone in our journey of bringing the Web even closer to our everyday lives and interactions.
Changelog:
root
.jsdoc
typings to APIs to provide additional info on the go.root
behaviour after install.remix-pwa
installation.utils
option to automate API selection.self
declaration error in JavaScript Service Workers.isMount
re-initialization on every render. Thanks @mokhtar
useMatches
function during Service Worker initialization. Thanks @pumpitbetter
Changelog:
remix-pwa
where your app folder is stored (e.g src/app
or app
)CLI Update here!
Changelog:
npm run pwa
npx remix-pwa@latest
now handles installing PWA modules and installation of required dependenciesChangelog:
remix-pwa
must be installed via npx
command and not npm install
package.json
root
during installation formattingroot
code after installationNew major release!
Changelog:
image
fieldshortcuts
! Make sure to check that outWeb Share API
massively! Added two new custom handlers for sharing files and URLspwa-utils.server.[t/j]s
!{" "}
that appears in the root file due to prettier formattingentry.client.ts
template was getting copied to js projectsentry.client
would now overwrite all changes from v0.1.0. Hint: Massive update in that file!Going Deeper
..worker
file to handle push events