Skip to content
jsx-control-statements

Alternatives to jsx-control-statements

200 apps like jsx-control-statements, closest match first.

Top picks

  1. S

    style-it

    Launch

    Component for writing plaintext CSS in React apps -- isomorphic, scoped, FOUC-free, fully featured, CSS-in-JS

  2. H

    html-to-react

    Launch

    html-to-react is a lightweight library that converts raw HTML into a React DOM structure. The README explains the reason it exists: an HTML template was generated by another team, but the author wanted to use React for the parts they contro

  3. U

    uncontrollable

    Launch

    uncontrollable is a small React helper for wrapping a controlled component so that chosen prop and handler pairs can be left uncontrolled by the people who use it. The idea is that you write a component with minimal state and let the wrappe

  4. R

    react-paginate

    Launch

    react-paginate is a ReactJS component that renders a pagination control, the row of page numbers and previous and next buttons used to move through long lists of results. It does not provide styling of its own, so you write a small amount o

  5. R

    react-swipeable-views

    Launch

    react-swipeable-views is a React component that makes swipeable views, such as image carousels and tabbed content you can swipe between. The project includes a few packages: the main react-swipeable-views component, react-swipeable-views-ut

  6. R

    react-json-viewer-cool

    Launch

    React json view plugin, supports expansion and hiding. Uses react hooks.

More like jsx-control-statements

7
I

interweave

React library to safely render HTML, filter attributes, autowrap text

Launch
8
R

react-markdown

React component to render markdown

Launch
9
R

react-body-classname

A declarative, nested way to manipulate your body's className

Launch
10
C

conditional-wrap

conditional-wrap React component

Launch
11
R

react-highlight

React component for syntax highlighting

Launch
12
R

react-hotkeys

A declarative library for handling hotkeys and focus within a React application

Launch
13
B

@brainhubeu/react-carousel

Carousel component for React

Launch
14
R

react-meta-tags

Handle document meta/head tags in isomorphic react with ease

Launch
15
R

react-json-view-compare

React json compare view plugin, supports expansion and hiding.use react hooks

Launch
16
R

react-scroll

React scroll component

Launch
17
R

react-contenteditable

React component representing an element with editable contents

Launch
18
R

react-text-truncate

Truncate text for React.js

Launch
19
R

react-json-pretty

A code formatting tool for raw json data

Launch
20
R

react-css-collapse

Component-wrapper for collapse animation with css for elements

Launch
21
R

react-select

A Select control built with and for ReactJS

Launch
22
R

react-interpolate-component

A component for React that renders elements into a format string containing

Launch
23
R

react-albus

React component library for building declarative multi-step flows

Launch
24
R

react-visibility-sensor

Sensor component for React that notifies you

Launch
25
R

react-headroom

Hide your header until you need it. React.js port of headroom.js

Launch
26
R

react-custom-scrollbars

React scrollbars component

Launch
27
R

react-codemirror

Codemirror

Launch
28
R

react-tagsinput

A simple react component for inputing tags

Launch
29
R

@risingstack/react-easy-state

React state management with a minimal API. Made with ES6 Proxies

Launch
30
U

@uiw/react-json-view

JSON viewer for react

Launch
31
R

react-collapsible

React component to wrap content in Collapsible element

Launch
32
R

react-barcode

React component to generate barcodes

Launch
33
R

react-filter-box-updated-logic

Conditional filter supports OR/AND, bracket, Highlighting, Autocomplete

Launch
34
M

mobx-react-devtools

Dev-tools for MobX and React

Launch
35
R

react-vtree

React component for efficiently rendering large tree structures

Launch
36
R

react-simple-dropdown

Non-prescriptive React.js dropdown toolkit

Launch
37
R

react-jsbarcode

JSBarcode component for React

Launch
38
R

react-gtm-module

React Google Tag Manager Module

Launch
39
R

react-bem-helper

allows you to easily add BEM-style element and modifier classes

Launch
40
R

react-collapse

Component-wrapper for collapse animation for elements with variable

Launch
41
R

react-native-page-control

React native page control, like ios UIPageControl

Launch
42
R

react-clipboard.js

Clipboard.js wrapper for ReactJS

Launch
43
R

react-slider

Slider component for React

Launch
44
A

@ant-design/react-slick

React port of slick carousel

Launch
45
R

react-virtualized

React components for efficiently rendering large lists and tabular data

Launch
46
R

react-on-screen

A wrapper component to track if your react component is visible on screen

Launch
47
R

react-css-modules

Seamless mapping of class names to CSS modules inside of React components

Launch
48
P

@primer/react

An implementation of GitHub's Primer Design System using React

Launch
49
R

react-document-title

A declarative, nested, stateful document.title for React

Launch
50
R

react-scrollbar

ScrollArea component for react

Launch

About jsx-control-statements

J

jsx-control-statements

Neater control statements (if/for) for jsx

JSX Control Statements is a Babel plugin that adds basic control statements to JSX: conditionals and loops, written as component-like tags. It transforms those tags into plain JavaScript, so a conditional tag becomes a ternary expression that returns null when the condition is false. The plugin is aimed at developers coming to React from templating libraries such as Handlebars, who expect built-in looping and conditional syntax. The README explains that React does not include this by design, since JSX is syntactic sugar over JavaScript expressions, and this plugin keeps the same principle while making render functions easier to read. Its only dependency is Babel, and it works with React and React Native. The README also carries a warning: because it is a Babel plugin that changes your code, tools that read your source, such as static analysis and TypeScript, may not work with it. The README covers the If, Choose, For and With tags, linting with ESLint and Flow, and pure JavaScript alternatives that use && and map. The project is open source and hosted on GitHub.

Price
Free
Made by
alexgilleran
Category
UI Libraries
Website
github.com/alexgilleran/jsx-control-statements