Skip to content

[draft] Use Babel to transpile JSX instead of TypeScript - #573

Merged
developit merged 5 commits into
masterfrom
babel-for-jsx
Jul 21, 2020
Merged

[draft] Use Babel to transpile JSX instead of TypeScript#573
developit merged 5 commits into
masterfrom
babel-for-jsx

Conversation

@developit

@developitdevelopit commented Mar 1, 2020

Copy link
Copy Markdown
Owner

It seems like we're allowing TypeScript to transpile JSX, when we could be allowing Babel to do so. Having TypeScript pass-through JSX to babel would mean we only have to support it being configurable in one place.

(hoping this fixes#564)

@developit
developit marked this pull request as ready for review March 6, 2020 19:31
@developit

Copy link
Copy Markdown
OwnerAuthor

I need to add tests.

@ForsakenHarmony

Copy link
Copy Markdown
Collaborator

bors try

borsBot added a commit that referenced this pull request Mar 12, 2020
@bors

borsBot commented Mar 12, 2020

Copy link
Copy Markdown
Contributor

try

Build failed

@ForsakenHarmony

Copy link
Copy Markdown
Collaborator

oh, we have a lockfile now 🙃

@ForsakenHarmony

Copy link
Copy Markdown
Collaborator

bors r+

borsBot pushed a commit that referenced this pull request Jul 21, 2020
It seems like we're allowing TypeScript to transpile JSX, when we could be allowing Babel to do so. Having TypeScript pass-through JSX to babel would mean we only have to support it being configurable in one place.
(hoping this fixes#564)
Co-authored-by: Leah <me@hrmny.sh>
Co-authored-by: Leah <github.leah@hrmny.sh>
@developit
developit merged commit 305a50f into masterJul 21, 2020
@developit
developit deleted the babel-for-jsx branch July 21, 2020 02:05
@bors

borsBot commented Jul 21, 2020

Copy link
Copy Markdown
Contributor

Timed out.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error using Fragment shorthand in React Typescript project

2 participants

@developit@ForsakenHarmony