Search results
19 packages found
A tiny pattern-matching library in the style of the TC39 proposal
`modern-errors` plugin to execute class-specific logic
- catch
- class
- classes
- errors
- inheritance
- instanceof
- javascript
- library
- mapping
- message
- modern-errors
- modern-errors-plugin
- nodejs
- plugins
- View more
Switch as an expressions for JavaScript
This package provides React components that emulate switch-case behavior for conditional rendering in React applications.
Control flow as an expressions for JavaScript
- control flow
- if expression
- if-else
- if-elseif-else
- switch expression
- switch-case
- switch-case-default
- try expression
- try-catch
Library with alternatives to hard coded switch-case and if-else blocks
Switch case on steroid. Enhanced branching with simplified syntax and support for conditional functions.
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
`nano-match` is a tiny utility simplifying key-based matching in TypeScript, bringing elegance to your code.
a module to make conditional rendering easily
Small (<1kb) library for utilizing type safe and predictable methods to deal with conditional statements.
> Switch-case React component to render nested components.
A better switch-case for NodeJS and Javascript
Alternative to JavaScript’s switch statement with a functional twist
An alternative to vanilla switch
FunctionSelect: Select a function that passes a condition. A functional alternative to switch-case.
Switch component to render React component like switch statement based on object path availability
Set of JavaScript actions to use during component rendering