GithubHelp home page GithubHelp logo

doc22940 / es-react-pwa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matthoffner/es-react-pwa

1.0 1.0 0.0 136 KB

Minimalist boilerplate with react, snowpack and workbox

HTML 53.71% JavaScript 46.29%

es-react-pwa's Introduction

es-react-pwa

minimalist and modern react boilerplate designed for minimal configuration.

note this uses a forked react build to work with es modules. there is optimisim that react will support an es module compatable build soon.

demo

contents:

concepts:

import maps

included is es module shims, which includes polyfill support for importmaps. these allow direct global imports. this is key in not requiring babel.

tree shaking (snowpack)

snowpack allows you to treeshake es module dependencies in a convinient way. there is a production command that will do the treeshaking, and a post npm install step which will localize the es modules.

yarn prepare
yarn optimize

progressive web app (workbox)

workbox is configured to be run during build to generate the caching configuration.

intialization:

yarn pwa:init

to generate caching with each build

yarn pwa

es-react-pwa's People

Contributors

matthoffner avatar matth-porch avatar dependabot[bot] avatar

Stargazers

Acampbell avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.