ryanmr / react-snowpack

ryan's react snowpack playground, also featuring twind!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Snowpack playground

Learning about React with Snowpack and some fun friends.

✨ Bootstrapped with Create Snowpack App (CSA).

Bootstrapped with CSA! The freshest and most local of webapps (via @brianmitchl)

Setup

yarn

Commands

# run dev mode, using fast refresh and snowpack's bundlessness
yarn start

# run build; produces a "bundle" with the webpack plugin
yarn build

# run serve on build folder; build first
yarn serve:build

Tech

Notes

  • Newer syntax supported
    • ?. and ??
  • Code splitting
  • Async routes work!
    • Suspense fallback simulated with 5s delay
  • Webpack "optimized" bundle works! (Makes hash.js chunks)

Things that sort of might work maybe

About

ryan's react snowpack playground, also featuring twind!

License:MIT License


Languages

Language:JavaScript 95.8%Language:HTML 4.1%Language:CSS 0.2%