Comments (11)
@sedubois Workbox is pretty hot 🔥 🔥 Tried it's precaching mechanism via workbox-webpack-plugin, which doesn't yet support runtime caching. We can try adding it later with its other cool features like:
- Background Sync
- Workbox Google Analytics
- and so on...
from nextsimplestarter.
Yes adding a backend makes things more complex of course, but as long as a backend is needed, I have the feeling that it's actually the easiest backend solution.
But I get it if you only wanted to demonstrate PWA here and not offline-first.
from nextsimplestarter.
Yeah, you're right. Let's leave this open, as a reminder to work on it. I'll take this up if no one else will. Thanks 👍
from nextsimplestarter.
@ooade Thanks, makes sense. I think addition of redux-offline would be a great addition to this project but then again it'll make this starter a very opinionated one. Ah, tough luck.
from nextsimplestarter.
IMO, i feel its not necessary. I mean, data don't persist to a database/localstorage/.... As you can see here, we just have redux add/remove a todo and once we reload the page, off it goes 🚀
But, we could still make this happen. If you interested, you can take it up and bump our version to 2.0.0.
I'd love to see comments from other people as well and thanks for raising this up 😄
from nextsimplestarter.
Yeah don't know how big you want this to become but it would be really great to have a more realistic example 😄 Plugging a backend (I'd recommend Graphcool) and a local storage (redux-offline using redux-persist under the hood) to have a more realistic example. I think it would be hugely helpful and very appreciated by @jevakallio and the guys from Zeit and Graphcool. Could definitely justify a little Medium article.
Don't know if I can make that contribution myself as my aim is to learn this stuff and have loads of other pieces to assemble in my project 😉 but if there's a PR coming I'm certainly willing to help reviewing.
from nextsimplestarter.
Graphcool... I think we could have this on a different repo because i think it kinda goes against the "Simple Starter" name making it a lil bit verbose.
from nextsimplestarter.
A very interesting project. I have one doubt though. Doesn't the PWA approach embraces offline-first architecture? If this project doesn't support offline first , what other PWA characteristics is it providing out of the box?
from nextsimplestarter.
@vsc-github vercel/next.js#861 (comment)
from nextsimplestarter.
Also, maintenance of Redux-offline seems to have stalled. Maybe need to look at technologies used inside https://hnpwa.com such as Workbox etc.
from nextsimplestarter.
@ooade workbox now supports runtime caching
from nextsimplestarter.
Related Issues (20)
- Background Sync API support HOT 1
- Make delete button accessible
- `Container` in `_app` has been deprecated and should be removed. HOT 2
- Redux Dev Tools doesn't work HOT 1
- An in-range update of eslint-config-react-app is breaking the build 🚨 HOT 1
- An in-range update of eslint-plugin-react is breaking the build 🚨 HOT 2
- An in-range update of eslint-plugin-import is breaking the build 🚨 HOT 1
- An in-range update of eslint-plugin-react is breaking the build 🚨 HOT 1
- An in-range update of react-axe is breaking the build 🚨 HOT 2
- Re-organize our README HOT 3
- Cannot register service worker with minimal configuration on Netlify HOT 3
- text
- static folder has been deprecated. HOT 1
- An in-range update of next is breaking the build 🚨 HOT 1
- An in-range update of snyk is breaking the build 🚨 HOT 1
- Teste
- [FEATURE] : Add support for Tailwind CSS also HOT 1
- NextJS SW registration failed HOT 3
- Retain user login
- Add support for Redux also HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextsimplestarter.