Skip to content

Button beside editor to switch between JSX and JS #552

Closed
@chenglou

Description

@chenglou

I think it's a neat way of solving https://twitter.com/atomless/status/401288699029094401
Instead of deciding if a snippet should be written in JS or JSX, why not put the JSX compiler to bigger use. There could be a button beside the live editor label that toggles between the two.

This applies not only to Tips but also in general.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions