Skip to content

v2.4.1

Compare
Choose a tag to compare
@xcarpentier xcarpentier released this 22 Jun 19:18
· 72 commits to master since this release
  • 🎸 Add canStart to hook return to be able to start at mount but need to wait for everything ok.
  // Can start at mount 🎉
  // you need to wait until everything is registered 😁
  React.useEffect(() => {
    if (canStart) {
      // 👈 test if you can start otherwise nothing will happen
      start()
    }
  }, [canStart]) // 👈 don't miss it!