Search results
25 packages found
Conditional rendering in React works the same way conditions work in JavaScript. Stop using JavaScript operators like if or ternary conditional operators to create elements that represent the current state and let `react-switch-casu` take care of updating
This package provides React components that emulate switch-case behavior for conditional rendering in React applications.
lightweight tool for conditionally rendering React component
The rswitch library provides a compact and flexible way to implement switch-like functionality in JavaScript. It allows you to define cases and their corresponding actions using an object literal syntax.
> Switch-case React component to render nested components.
React condition manager.
A simple JavaScript-like switch component for React written in TypeScript
a module to make conditional rendering easily
A React component that conditionally renders its children based on a condition.
- react
- reactjs
- switch
- case
- conditions
- react conditions
- react render condition
- react render conditions
- conditional render
- conditional rendering
- react conditional rendering
- react conditional rendering component
- react conditional rendering library
- react conditional rendering package
- View more
Little switch-case React component to render nested components.
Small utility module for conditional rendering in React
Proper conditional case-when-then statements for JSX
Dependency which provides react components on top of control flow operations like if, if-else, if-else-if, switch-case, & try-catch.
Switch/Case like React component
Switch component to render React component like switch statement based on object path availability
## This may negatively impact performance for a react app, as it increases the size of the tree that needs to be diffed/rendered by React, and does not truncate the component tree below it in the same way as a ternary would.
simplify conditional rendering.
- react
- if
- else
- switch case
- react conditionals
- react conditional rendering
- react if
- react switch
- react switch case
- react if else switch
- react else if
A composable action reducer that aims to replace your long winded switch case