Alternatives to jsx-control-statements
200 apps like jsx-control-statements, closest match first.
Top picks
- S

style-it
LaunchComponent for writing plaintext CSS in React apps -- isomorphic, scoped, FOUC-free, fully featured, CSS-in-JS
- H

html-to-react
Launchhtml-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
- U

uncontrollable
Launchuncontrollable 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
- R

react-paginate
Launchreact-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
- R

react-swipeable-views
Launchreact-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
- R

react-json-viewer-cool
LaunchReact json view plugin, supports expansion and hiding. Uses react hooks.
More like jsx-control-statements

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

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

react-interpolate-component
A component for React that renders elements into a format string containing
About jsx-control-statements

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






































