gaearon / gaearon/react-hot-loader

Discuss: native TypeScript support?

Open
#1,205 12 comments 5 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
775
PR merge metrics
No merged PRs in 30d

Description

The suggestion to add `babel-loader`, or even completely replace the TypeScript loader is rather disappointing - there surely is another way.

Although the approach is different, because I haven't looked long enough at the Babel plugin, I've implemented native-TypeScript React HMR, using `react-proxy` and a TypeScript transformer: https://github.com/elsassph/react-hmr-ts

I'll continue looking at the Babel plugin to see whether it can be written as a TS transform but I don't understand it completely yet...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.