Skip to content

Props and undefined value

Compare
Choose a tag to compare
@rkotze rkotze released this 08 Feb 21:46
· 36 commits to master since this release
  • New props(object) feature added, assert on multiple props on a component.
  • Changes to attr, prop, state assertions if value argument is set to undefined then it will assert the props value. E.g. prop(key) === undefined rather than saying the prop is missing.