Skip to content

0.0.4 Release Candidate

Pre-release
Pre-release
Compare
Choose a tag to compare
@patrickroberts patrickroberts released this 07 Oct 06:09
· 35 commits to master since this release

Changes:

  • Changed parameter useHandler to handler in createService(), meaning hook calls are no longer allowed in the user-defined handler. After usage testing, it seemed burdensome to require the user to properly call useEffect() in the handler in order to prevent double-invoking their fetching logic in React Strict Mode.
  • Added ESLint to enforce a consistent code-styling and other semantic contracts like Rules of Hooks that aren't covered by typechecking alone.
  • Added MIT license file