https://github.com/waltertamboer/experiment-react-webpack-typescript
An experiment done to test ReactJS in combination with Webpack and Typescript.
https://github.com/waltertamboer/experiment-react-webpack-typescript
experiment react reactjs ts txt typescript webpack
Last synced: 3 months ago
JSON representation
An experiment done to test ReactJS in combination with Webpack and Typescript.
- Host: GitHub
- URL: https://github.com/waltertamboer/experiment-react-webpack-typescript
- Owner: waltertamboer
- License: mit
- Created: 2018-03-06T09:51:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-06T09:55:40.000Z (over 8 years ago)
- Last Synced: 2025-07-22T17:44:37.747Z (12 months ago)
- Topics: experiment, react, reactjs, ts, txt, typescript, webpack
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# experiment-react-webpack-typescript
Run a ReactJS application compiled with Webpack and Typescript.
Tutorial described here: https://www.typescriptlang.org/docs/handbook/react-&-webpack.html
## Installation
Install the dependencies.
```
docker run --rm -it -v $(pwd):/data -w /data node npm install
docker run --rm -it -v $(pwd):/app jmfirth/webpack webpack
```
Run the webserver:
```
docker-compose up -d
```
## What's happening
Webpack bundles the TSX files (http://www.typescriptlang.org/docs/handbook/jsx.html)
into a JavaScript bundle. This bundle is loaded in the index file which basically loads
the application.