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

published 1.0.0 a year ago
M
Q
P

This package provides React components that emulate switch-case behavior for conditional rendering in React applications.

published 1.2.0 6 months ago
M
Q
P

lightweight tool for conditionally rendering React component

published 1.0.1 7 months ago
M
Q
P

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.

published 0.7.0 7 months ago
M
Q
P

> Switch-case React component to render nested components.

published 0.1.3 a year ago
M
Q
P

React condition manager.

published 1.2.3 6 months ago
M
Q
P

A simple JavaScript-like switch component for React written in TypeScript

published 0.6.1 a year ago
M
Q
P

a module to make conditional rendering easily

published 2.0.7 2 years ago
M
Q
P
M
Q
P

Little switch-case React component to render nested components.

published 1.5.1 4 years ago
M
Q
P

Small utility module for conditional rendering in React

published 0.0.2 6 years ago
M
Q
P

react switch

published 1.0.1 7 years ago
M
Q
P

Proper conditional case-when-then statements for JSX

published 0.1.16 2 years ago
M
Q
P

Dependency which provides react components on top of control flow operations like if, if-else, if-else-if, switch-case, & try-catch.

published 1.0.2 5 years ago
M
Q
P

React switch case component

published 1.0.1 7 years ago
M
Q
P

Switch/Case like React component

published 1.0.1 6 years ago
M
Q
P

Switch component to render React component like switch statement based on object path availability

published 0.0.2 9 years ago
M
Q
P

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

published 0.0.24 3 years ago
M
Q
P
M
Q
P

A composable action reducer that aims to replace your long winded switch case

published 0.0.7 5 years ago
M
Q
P