Skip to content
jsx-control-statements

Open source alternatives to jsx-control-statements

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

Top picks

  1. 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

  2. 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

  3. R

    react-markdown

    Launch

    react-markdown is a React component that renders Markdown as React elements. You pass it a Markdown string and it returns the page content, without using dangerouslySetInnerHTML, so it is safe by default against cross-site scripting. You ca

  4. R

    react-body-classname

    Launch

    react-body-classname is a small React helper for setting the class name on the document body from inside your components. Instead of changing document.body by hand, you describe the classes declaratively, and components nested in your tree

  5. R

    react-highlight

    Launch

    react-highlight is a React component for syntax highlighting, built on the highlight.js library. You pass a code snippet as the children of the Highlight component as a string, and set its language through a className, so the code is colour

  6. B

    @brainhubeu/react-carousel

    Launch

    react-carousel is a React carousel component from Brainhub. It is written in React rather than wrapping a jQuery plugin, and it can be used as a controlled or an uncontrolled component, similar to a form input. You pass the slides as childr

More like jsx-control-statements

7
R

react-text-truncate

Truncate text for React.js

Launch
8
R

react-barcode

React component to generate barcodes

Launch
9
R

react-vtree

React component for efficiently rendering large tree structures

Launch
10
R

react-simple-dropdown

Non-prescriptive React.js dropdown toolkit

Launch
11
R

react-document-title

A declarative, nested, stateful document.title for React

Launch
12
R

react-toastify

React notification made easy

Launch
13
R

react-bootstrap

Bootstrap components built with React

Launch
14
S

Sucrase

Super-fast alternative to Babel for when you can target modern JS runtimes

Launch
15
R

React View

React View is an interactive playground

Launch
16
R

react-responsive-carousel

React.js Responsive Carousel (with Swipe)

Launch
17
R

react-quill

The Quill rich-text editor as a React component

Launch
18
E

@egjs/react-flicking

Everyday 30 million people experience

Launch
19
R

react-card-flip

ReactCardFlip

Launch
20
R

react-quilljs

React Hook Wrapper for Quill, powerful rich text editor

Launch
21
R

react-bootstrap-table-next

Next generation of react-bootstrap-table

Launch
22
R

react-document-meta

Declarative, nested and stateful HTML document meta tags for React

Launch
23
R

react-joyride

Create walkthroughs and guided tours for your ReactJS apps

Launch
24
R

React Page Visibility

Declarative, nested, stateful, isomorphic page visibility React component

Launch
25
S

@sooro-io/react-gtm-module

React Google Tag Manager Module

Launch
26
B

Blocks

A JSX-based page builder for creating beautiful websites without writing code

Launch
27
R

react-infinite

A browser-ready efficient scrolling container based on UITableView

Launch
28
R

react-arborist

The complete tree view component for React

Launch
29
R

react-mapbox-gl

A React binding of mapbox-gl-js

Launch
30
N

ns-ui

Open-source registry of React components

Launch
31
L

lightGallery

A customizable, modular, responsive, lightbox gallery plugin

Launch
32
R

react-scrollchor

A React component for scrolling to #hash links with smooth animations

Launch
33
R

react-input-autosize

Auto-resizing Input Component for React

Launch
34
R

@restart/ui

Utilities for creating robust overlay components

Launch
35
R

react-rating

A rating react component with custom symbols

Launch
36
R

react-cropper

Cropper as React Component

Launch
37
R

React Styleguidist

Isolated React component development environment with a living style guide

Launch
38
E

Emotion

High-performance CSS-in-JS style composition

Launch
39
R

react-touch-carousel

Micro carousel framework for React.JS

Launch
40
R

react-player

A React component for playing a variety of URLs, including file paths, Mux

Launch
41
K

keen-slider

The HTML touch slider carousel with the most native feeling you will get

Launch
42
R

reactable

Fast, flexible, simple data tables in React

Launch
43
R

react-konva

React Konva is a JavaScript library for drawing complex canvas graphics

Launch
44
R

React Json View

JSON viewer for react

Launch
45
R

react-tag-input

React tags is a fantastically simple tagging component for your React projects

Launch
46
R

react-custom-scrollbars-4

React scrollbars component

Launch
47
Y

yet-another-react-lightbox

Modern React lightbox component

Launch
48
R

react-dropdown

A lightweight, accessible dropdown component for React

Launch
49
R

react-map-gl

A React wrapper for MapboxGL-js and overlay API

Launch
50
R

react-pro-sidebar

high level and customizable side navigation

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