Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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))

~