This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
Breaking Changes
- Change signature of all the inter application bus hooks:
useInterApplicationBusSubscribe
,useInterApplicationBusSend
,useInterApplicationBusPublish
(thanks @ms14981 @jlight-scottlogic @oriondean ).- Subscribe hook additionally takes
onReceiveMessage
andonFail
callbacks as the third and fourth parameters respectively. It now returns only a booleanisSubscribed
to indicate whether the topic specified is currently subscribed to. - Send and publish hooks now no longer accept the message to send as a parameter, but return a function that takes the message as the only argument and sends the message.
- Subscribe hook additionally takes
Features
- Two new hooks;
useCallbackWhenAllChildWindowsClosed
,useCallbackWhenAnyChildWindowClosed
added (thanks @jlight-scottlogic @oriondean )
Miscellaneous
- Minor UX improvements (thanks @oriondean @markjose )