Skip to content
This repository was archived by the owner on Apr 6, 2024. It is now read-only.

Releases: dnbkr/use-iframe

v1.0.4

20 Jan 17:09

Choose a tag to compare

  • bug fixes to previous release's content

v1.0.3

20 Jan 16:43

Choose a tag to compare

  • Better distinguish between parent and children elements
  • Should now act more as a no-op / default behaviour if used when not in an iframe

v1.0.2

17 Jan 16:02

Choose a tag to compare

  • Quite a few fixes for shared state between iframe and parent (iframe can now setState more reliably)
  • Better message consolidation when using shared state

v1.0.1

15 Jan 15:31

Choose a tag to compare

  • much better message routing
  • fixed some bugs that sometimes caused multiple re-renders
  • support for multiple iframes on the same page communicating

v1.0.0

14 Jan 16:06

Choose a tag to compare

  • Consolidate options to always be the same options object, so ref is always passed in as an item in an object
  • Added 'skip' feature to disable effects (useful if client could be rendered in an iframe, or not)

v0.1.2

14 Jan 15:02
f777257

Choose a tag to compare

It turns out GitHub Actions maybe aren't as simple as I thought. This should fix the build issues to finally publish a working version

v0.1.1

14 Jan 14:53

Choose a tag to compare

The previous version had build issues, which this should fix

v0.1.0

14 Jan 13:35
c5ac84c

Choose a tag to compare

The first public release of this library.

Includes:

  • useIframe
  • useIframeEvent
  • useIframeSharedState