Giter Site home page Giter Site logo

macmillan78 / react-transform-typescript-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gaearon/react-transform-boilerplate

1.0 1.0 0.0 60 KB

A new Webpack boilerplate with hot reloading React components written in Typescript, and error handling on module and component level.

License: Creative Commons Zero v1.0 Universal

JavaScript 62.93% HTML 3.93% TypeScript 30.35% CSS 2.78%

react-transform-typescript-boilerplate's Introduction

React Transform Typescript Boilerplate

Enables React development with Typescript featuring Hot Module Replacement and CSS modules.

Based on react-transform-boilerplate

Integrates following technologies:

To import Sass files in JS use the require function instead of ES2015 import syntax, due to conflicts with typescripts module checking.

For convenience they are packed in a single preset called react-transform-hmre but you can make your own.

Syntax errors are displayed in an overlay using @glenjaminโ€™s webpack-hot-middleware, which replaces Webpack Dev Server. This project does not use React Hot Loader.

Installation

git clone https://github.com/gaearon/react-transform-boilerplate.git
cd react-transform-boilerplate
npm install
npm start
open http://localhost:3000

Proxying another project:

git clone https://github.com/gaearon/react-transform-boilerplate.git
cd react-transform-boilerplate
npm install
npm start -- --proxyTarget http://yourdomain.tld
open http://localhost:3000

and integrate script reference to http://localhost:3000/static/bundle.js in the proxied project in dev mode.

Discussion

You can discuss React Transform and related projects in #react-transform channel on Reactiflux Discord.

License

CC0 (public domain)

react-transform-typescript-boilerplate's People

Contributors

chentsulin avatar clessg avatar clkao avatar danmartinez-mw avatar gaearon avatar hugooliveirad avatar ianmcnally avatar jamiebuilds avatar joearasin avatar justingreenberg avatar macmillan78 avatar n1ghtmare avatar rf- avatar tylerhellner avatar zillding avatar

Stargazers

 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.