Search results
25 packages found
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
lightweight tool for conditionally rendering React component
This package provides React components that emulate switch-case behavior for conditional rendering in React applications.
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
> Switch-case React component to render nested components.
React condition manager.
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.
a module to make conditional rendering easily
A simple JavaScript-like switch component for React written in TypeScript
Little switch-case React component to render nested components.
Proper conditional case-when-then statements for JSX
Small utility module for conditional rendering in React
Conditional rendering helpers for react
A composable action reducer that aims to replace your long winded switch case
Switch component to render React component like switch statement based on object path availability
Switch/Case like React component
Dependency which provides react components on top of control flow operations like if, if-else, if-else-if, switch-case, & try-catch.
## 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.
React library for pattern matching and conditional rendering
- react
- typescript
- typed
- match
- case
- switch
- condition
- conditional
- pattern
- pattern matching
- matching
- matched
- matchto
- if
- View more