Custom JSX Example
Example of using JSX without using framework like React.
There are 3 different ways:
Prerequisities
- Node and NPM
Usage
git clone
this repo
- Make sure the folder is accessible through a web server.
Lets assume this repo is available at http://localhost:8080
- In the browser, go to:
- http://localhost:8080/react-jsx–bare–node-modules/
- http://localhost:8080/react-jsx–bare–internal/
- http://localhost:8080/react-jsx–relative/
To make modifications, go to the root folder and:
- Install dependencies
- Make modifications
- Run TypeScript Compiler after making modifications:
- Refresh the browser