Skip to content

dvictor/jsx-no-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a project setup example for how to use TypeScript and JSX without npm, Webpack, React or similar heavy libraries. See my article on Medium for more details.

Instead, this is using esbuild, a faster JavaScript bundler, transpiler written in Go. Esbuild supports TypeScript out of the box with no dependencies.

If you don't have Go installed, there are other ways to install esbuild, but you'll have to adjust the Makefile.

These days, the vanilla DOM manipulation API in JS is mature enough for many simple projects.

To build the project:

make build

You can also build continuously, when source files change:

make watch

About

Use JSX and Typescript without NPM, React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages