brn
simple functional branching logic
Found 33 results for if-else
simple functional branching logic
A Vite plugin for using React control statements
conditional rendering for react components
A react component that handles conditional logic in a more elegant manner.
[](https://www.npmjs.com/package/conditional-render-simplify)
MarathiScript - A fun programming language in Marathi. Created by Atikin Verse.
small helper component for conditional rendering
A tiny (1kB GZipped) zero dependency JavaScript utility that lets you write your conditional business logic in a declarative way (React like).
If a condition is truthy, return `x`; otherwise, return `y`.
Neater control statements (if/for) for react, as a component
If a predicate function returns a truthy value, return `x`; otherwise, return `y`.
React helper conditional components for convenient and declarative development
Neater control statements (if/for) for react, as a component
If a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.
`choose-when` 是一个轻量级的 `React` 组件包,用于在 `React` 应用程序中实现条件渲染, 替代三元表达式的嵌套。通过简单的 `Choose`, `When`, 和 `Otherwise` 组件,可以方便地根据不同的条件来渲染对应的内容,主要是为了提升代码可读性和可维护性。
A react component for write if-else in render
Neater control statements (if/for) for react, as a component
Check if the required properties are set, the easy way!
A lightweight React utility component library featuring Switch and Match for conditional rendering, inspired by SolidJS. Simplifies readable and declarative conditional logic in JSX.
Library with alternatives to hard coded switch-case and if-else blocks
Conditional component for react, if else as a component
If a condition is truthy, invoke `x`; otherwise, invoke `y`.
Set of JavaScript actions to use during component rendering
Syntactic sugar for if, else statements by a function. Aim for an implementation both clean and elegant.
lisp "cond" special form realization for js
simple functional branching logic
React Component to make the Conditional Render look Elegant
Convert ternary expressions to if-else statements
A React library for declarative conditional rendering using If/Else and Switch/Case components for cleaner JSX.
Render React components conditionally.
An improved switch syntax for javascript, which allows you to cover more base - such as using comparative statements inside switch cases.
A conditional rendering package for React and React Native
Render components conditionally for react