site-www
next-pwa
Our great sponsors
site-www | next-pwa | |
---|---|---|
6 | 9 | |
922 | 3,588 | |
0.4% | - | |
9.7 | 2.4 | |
7 days ago | 3 months ago | |
Dart | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
site-www
-
Dart 3: Fully sound null safety, tuples, records, and pattern matching
interesting, looks like they no longer recommend against it https://github.com/dart-lang/site-www/issues/4693
Interestingly, the examples for the usage of some packages has recently been switched to caret syntax in the sdk constraints: https://github.com/dart-lang/site-www/commit/9ee51eb71480bf3e76d5568239b97710f49640e6
-
Why some important? docs missing from dart.dev
If there's anything you'd like to see improved or added, make sure to open an issue on dart-lang/site-www. The repository is heavily open to community contributions as well :)
-
Friendly reminder and warning about licenses for pub.dev packages
I think the documentation is meant suggest using an OSI license, I've filed a PR to fix this.
-
Why Switch statements in Dart are intended for limited circumstances, such as in interpreters or scanners?
We're tracking this issue in https://github.com/dart-lang/site-www/issues/2830.
next-pwa
-
Show HN: Duck, a chat-based note app for your knowledge base
Thank you for trying it and asking questions. Let me reply to them below.
> Could you give a brief overview of how the project is built, or what libraries are used? I found two in the source, React and Workbox. I've never heard of Workbox before, and I'm still figuring out how service workers are used. But it seems like a big part of the source.
For building, I used Next.js with static generation, not using Server-side rendering. But it's not an important part because it doesn't rely on Next.js features so much.
About Workbox, the app uses them with next-pwa (https://github.com/shadowwalker/next-pwa) for providing caching strategies and offline behavior as Progressive Web App. For example, the app registers several precached files via Workbox. Precached files are fetched and cached by the service worker and these caches can be used while offline. Also, Workbox can configure runtime caching strategies. You can see details in Workbox documentation (https://developer.chrome.com/docs/workbox/).
The app also uses the Service Worker to connect IndexedDB as a local database and send HTTP requests to synchronize data with Google Drive. By using the Service Worker, these methods don't block the user interaction from the main thread and Service Worker can run in the background to synchronize data even if the browser window is suddenly closed.
-
PWA support in NextJs
We tried to use next-offline and next-pwa, but we were only able to precache the static assets.
-
Precaching pages with next-pwa
It's possible that next-pwa might support precaching pages in the future. Subscribe to issue 252 to keep up to date on that.
-
Does anyone have any experience with making PWAs in Next?
There's next-offline and next-pwa (and some comparison too). But has anyone here made a PWA with NextJS? Now I am not only referring to service workers/offline functionality, but also icons, adding to homescreen, manifest, and other PWA features. Does anyone have any good examples or guides to refer to?
-
I over-engineered my blog, and here’s what I’ve learned
next-pwa, for PWA support.
-
tmp.spacet.me devlog part 1
Project setup: I applied for a DigitalOcean credit, created a Next.js static app, set up Tailwind, TypeScript and next-pwa. I deployed the app to DigitalOcean App Platform and it just works (except the part where I waited for the spinner to finish. By the way everyone, please don't add a spinner if you will not also automatically refresh it.)
shadowwalker/next-pwa#132 improves error messages
What are some alternatives?
next-offline - make your Next.js application work offline using service workers via Google's workbox
next-seo - Next SEO is a plug in that makes managing your SEO easier in Next.js projects.
Next.js - The React Framework
sqlite-worker - A simple, and persistent, SQLite database for Web and Workers.
Sentry-Picam - A simple wildlife camera for Raspberry Pis.
hueblocks - Create beautiful Minecraft block gradients in a few clicks!
next-mdx-remote - Load mdx content from anywhere through getStaticProps in next.js
rehype - HTML processor powered by plugins part of the @unifiedjs collective
uuid - Generate RFC-compliant UUIDs in JavaScript
use-dark-mode - A custom React Hook to help you implement a "dark mode" component.
Image-to-Braille - Give it an image, and it will become unicode braille
flutter-widgets - Syncfusion Flutter widgets libraries include high quality UI widgets and file-format packages to help you create rich, high-quality applications for iOS, Android, and web from a single code base.