Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tenosiswono/wwwid-pwa-wc
This is an example of a PWA built using Vanilla Webcomponent, Webpack and some other modules for WWWID Performance Challenge
https://github.com/tenosiswono/wwwid-pwa-wc
challenge firebase progressive-web-app pwa vanilla-webcomponent web-component web-components webcomponents webpack wwwid wwwidchallenge
Last synced: 3 months ago
JSON representation
This is an example of a PWA built using Vanilla Webcomponent, Webpack and some other modules for WWWID Performance Challenge
- Host: GitHub
- URL: https://github.com/tenosiswono/wwwid-pwa-wc
- Owner: tenosiswono
- License: mit
- Created: 2018-02-15T02:52:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T19:58:14.000Z (about 2 years ago)
- Last Synced: 2023-12-16T00:30:46.964Z (about 1 year ago)
- Topics: challenge, firebase, progressive-web-app, pwa, vanilla-webcomponent, web-component, web-components, webcomponents, webpack, wwwid, wwwidchallenge
- Language: JavaScript
- Homepage: https://idpwa-wc.firebaseapp.com
- Size: 1.26 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Vanilla Webcomponent WWWID PWA Example
See this application live at: https://idpwa-wc.firebaseapp.com
This is an example of a PWA built using Vanilla Webcomponent, Webpack, ~~Redux~~ and some other modules for [WWWID Performance Challenge](https://medium.com/wwwid/tantangan-web-developer-untuk-membuat-aplikasi-web-bisa-digunakan-kurang-dari-5-detik-70bb7431741d)
Made with _love_ 💔
## Installation
1. Install yarn
* https://yarnpkg.com/en/docs/install
2. Install firebase tools
* npm install -g firebase-tools
3. Install Yarn Dependencies
* yarn install
4. Deploy Firebase function
* firebase deploy
5. Run Locally
* yarn start (chrome only)## Features
- Webcomponent with es6 modules including the polyfill
- ~~Redux for state management~~
- ~~Redux thunk for async fetch~~
- Lightweight unfetch for fetch polyfill
- Intersection Observer API for lazy loading image not in viewport
- Firebase function for API manipulation through RSS feeds
- Firebase preload setting for server push resources
- Workbox to generate the service worker
- Lot of bugs## Performance Score
Tested with [www.webpagetest.org](https://www.webpagetest.org/easy.php) with `Mobile Slow 3G` and `Run Lighthouse Audit` enable.
From: Dulles, VA - Moto G4 - Chrome - 3GSlow
Mar 7, 2018, 11:35 AM GMT+7
Score Link: [score](https://www.webpagetest.org/result/180307_5H_8739c68bd433199e02f70128bd030188/)
Lighthouse Link: [lighthouse](https://www.webpagetest.org/lighthouse.php?test=180307_5H_8739c68bd433199e02f70128bd030188&run=3)
Lighthouse First meaningful paint: 2,210 ms
Lighthouse First Interactive (beta): 2,210 ms
Lighthouse PWA Score: 91/100 (webpagetest pwa score seems to be broken the https redirect [#2363](https://github.com/GoogleChrome/lighthouse/issues/2363))
~