Skip to content

1.0.0

Latest
Compare
Choose a tag to compare
@religiosa1 religiosa1 released this 23 Jan 21:21

Added

  • additional typescript checks if useResource value is a function type, so it's
    impossible to accidently miss the external function wrapper during initialization
  • <Match /> narrows down renderProp type to non-nullable values

Changed

  • <Await /> now renders nothing instead of throwing an error, if nullish for prop was supplied
  • default module format switched from cjs to mjs
  • builder changed from vite to tsup
  • exports declaration was changed for better cjs/mjs support
  • stricter internal dispatch checkings in useResource
  • documentation and changelog typos, wordings and better examples
  • source code is ommited from the npm bundle

Security

  • devDependencies bump