This repository was 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
onReceiveMessageandonFailcallbacks as the third and fourth parameters respectively. It now returns only a booleanisSubscribedto 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,useCallbackWhenAnyChildWindowClosedadded (thanks @jlight-scottlogic @oriondean )
Miscellaneous
- Minor UX improvements (thanks @oriondean @markjose )