JSPM

Found 33 results for if-else

react-conditioner

Conditional component for react, if else as a component

  • v1.1.0
  • 10.97
  • Published

@stdlib/utils-if-then

If a condition is truthy, invoke `x`; otherwise, invoke `y`.

  • v0.2.2
  • 10.80
  • Published

react-render-actions

Set of JavaScript actions to use during component rendering

  • v1.0.0-alpha.0
  • 9.66
  • Published

predict-sugar

Syntactic sugar for if, else statements by a function. Aim for an implementation both clean and elegant.

  • v0.1.5
  • 8.73
  • Published

node-cond

lisp "cond" special form realization for js

  • v0.0.1
  • 8.54
  • Published

unl

simple functional branching logic

  • v1.0.1
  • 7.55
  • Published

react-decide

React Component to make the Conditional Render look Elegant

  • v1.0.1
  • 7.49
  • Published

tifel

Convert ternary expressions to if-else statements

    • v1.0.4
    • 7.49
    • Published

    react-if-then-else-switch

    A React library for declarative conditional rendering using If/Else and Switch/Case components for cleaner JSX.

      • v1.0.4
      • 6.39
      • Published

      improved-switch

      An improved switch syntax for javascript, which allows you to cover more base - such as using comparative statements inside switch cases.

      • v1.0.3
      • 2.79
      • Published

      react-ifelsefy

      A conditional rendering package for React and React Native

      • v2.0.0
      • 0.00
      • Published