Skip to content

create-react-app meets parcel build with typescript support

Notifications You must be signed in to change notification settings

hectim/parcel-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dog Saga - Redux-Saga Beginner Tutorial

Unfortunately there are no up-to date examples of Typescript with Redux, thus, we have this library.

The projects this was derived from:

Compilation

The compilation of this project uses a few steps:

  1. Transpile .ts and .tsx files into .js and .jsx files respectively into the tsc_dist folder.
  2. Copy the files the tranpiler missed into the tsc_dist folder.
  3. Point your public/index.html to the newly generated tsc_dist/index.js
  4. Use Parcel to bundle your public/index.html which uses the tsc_dist folder into a new directory called dist.

Setup Hot Reloading

First install node modules:
npm i
Then start both the typescript compiler and parcel bundler in watch mode:
npm run start

About

create-react-app meets parcel build with typescript support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages