1.0.5 • Published 6 years ago

jsx-jstl-conditionals v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

A small babel plugin package designed to make transitioning from jstl to jsx simpler.

<ForEach var='thisItem' items={items} index='index'>
    {thisItem}
</ForEach>

<If test={condition}>
    contents
</If>

<Choose>
    <When test={condition}>
        if
    </When>
    <Otherwise>
        else
    </Otherwise>
</Choose>

Pretty much a clone of jsx-control-statements but more customized for my experiences.

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago