Skip to content

v0.14 πŸŽ’

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Jun 12:57

πŸš€ Features

const $width = createStore(440);
const $height = createStore(820);

const $tooBig = some((size) => size > 800, [$width, $height]);

console.assert(true === $tooBig.getState());
const $isPasswordCorrect = createStore(true);
const $isEmailCorrect = createStore(true);

const $isFormCorrect = every(true, [$isPasswordCorrect, $isEmailCorrect]);

console.assert(true === $isFormCorrect.getState());
  • Add ability to write nested conditions #17 (@yumauri)
condition({
  source,
  if: condition1,
  then: unit1,
  else: condition({
    if: condition2,
    then: unit2,
    else: unit3,
  })
})

πŸ§ͺ Tests

🏎 Optimizations