Skip to content

v2.0.0

Compare
Choose a tag to compare
@megamaddu megamaddu released this 14 Aug 21:23
80600ec

Major changes

  • Removed CreateComponent alias
    • more confusing than helpful
    • Just use Effect (ReactComponent props)
  • Moved Render and related instances to React.Basic.Hooks.Internal
    • probably won't break anything, it's all still re-exported from React.Basic.Hooks
  • UseAff is now a newtype instead of an alias
    • unlikely to break anything, improves error messages

Minor changes

  • Added: unsafeHook, unsafeRenderEffect, coerceHook
    • allows 3rd party hook creation and type aliasing