Added
useOnMessage React hook that subscribes to messages of a given type from the nearest MessengerScope, with an optional filter predicate that receives the typed message and decides whether the consumer is interested.
useSendMessage React hook that returns a stable function for publishing messages to the nearest MessengerScope.
ICanProvideUsers and User (MicrosoftIdentity: ClientPrincipal, Details: object) in Cratis.Arc.Identity (#2249).
ICanProvideTenants, Tenant (Id: TenantId, Name: TenantName), and TenantName concept in Cratis.Arc.Tenancy (#2249).
public interface ICanProvideUsers
{
Task<IEnumerable<User>> Provide();
}
public interface ICanProvideTenants
{
Task<IEnumerable<Tenant>> Provide();
}
Fixed
- Dialogs created via
useDialog no longer remount on every render of the hosting component. The wrapper component now has a stable identity, preventing portal leaks and visible remounts with PrimeReact and other portal-based dialogs.