Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #118

Merged
merged 1 commit into from
Nov 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ If statements transform to the _ternary operator_:

### Choose Tag

This is an alternative syntax for more complex conditional statements. The syntax itself is XMLish and conforms by and
This is an alternative syntax for more complex conditional statements. Its a equivalent of `switch` statement for jsx. The syntax itself is XMLish and conforms by and
large to JSTL or XSLT (the attribute is called `condition` instead of `test`):

```javascript
Expand Down Expand Up @@ -462,10 +462,14 @@ Cons:
- Slightly longer build times
- Requires an extra plugin to work with ESLint

## For macros
If you are looking to use macros with it, take a look at [jsx-control-statements-macros](https://github.com/akilansengottaiyan/jsx-control-statements) which is basically the extension of jsx-control-statements with macros support.

## What about Typescript?

[There's a version for that by @KonstantinSimeonov!](https://github.com/KonstantinSimeonov/tsx-control-statements)


## Major Versions

- 4.x.x is a pure Babel plugin supporting Babel >= 7.
Expand Down