notes-offline update. Meteor v3.4.1-rc.1
Offline-first PWA notes app with auto-save, markdown, search, tagging, pinning, trash/recovery, import/export, cross-tab sync, per-device scoping, and multi-language UI (en/es/pt)
This example is one where I am adding some extras because it has been the perfect opportunity not only to showcase offline capabilities with Jam’s community packages, but also to show how Rspack integration helps Meteor to adopt libraries that also improve app features, like automatic service workers with declarative config in rspack.config.js and internationalization with LinguiJS.
I reworked notes-offline to ensure the configuration with Workbox is there and ready to make offline work well with the service worker, especially in HMR mode, where it was causing infinite reloads or hot updates were not landing properly.
The example also includes LinguiJS configuration for i18n. This tool can benefit any project, but it has a very interesting integration with Rspack, so you can use @lingui/loader to compile the JSON catalogs on the fly during bundling. That means there is no separate compile step, and everything becomes part of the build system.
This is just another proof that we can delegate to the wider JS ecosystem and avoid Meteor, as a framework, having to maintain its own packages for everything. We can still provide these as examples or build packages that make this configuration easy to start with, but we do not need to reinvent the problems these tools already solve behind the scenes, like service workers or i18n management. i18n was noted in this post, and this only proves how much flexibility the existing tools already give us to extend the experience without reimplementing those blocks on our side.
Check the example out with:
meteor create my-app --release 3.4.1-rc.1 --example notes-offline
or live: https://notes-offline.sandbox.galaxycloud.app/
That said, examples are a great opportunity to showcase the tools you have adopted. notes-offline, for instance, was a good example to explore community packages and showcase the Rspack Workbox adoption and i18n strategy I use on my projects, as a way to close the circle on what we really wanted to provide to the community with the bundler upgrade.
Demo URLs
Live Galaxy Metal sandbox deployments of the Meteor examples.
| App | Demo URL |
|---|---|
| Simple Tasks | https://simpletasks.sandbox.galaxycloud.app/ |
| Task Manager | https://task-manager.sandbox.galaxycloud.app/ |
| Notes Offline | https://notes-offline.sandbox.galaxycloud.app/ |
| Simple Blog | https://example-simple-blog.sandbox.galaxycloud.app/ |
| Tic-Tac-Toe | https://tic-tac-toe.sandbox.galaxycloud.app/ |
| Parties | https://parties.sandbox.galaxycloud.app/ |
| Complex Todos (Svelte) | https://complex-todos-svelte.sandbox.galaxycloud.app/ |