The core components of the Yuni Chanz React library.
npm install yuni-chanz-reactThis is still in early development, so it is subject to frequent breaking changes. The package wasn't meant for others to use anyway...
ModelConverter.toModel.mapArray function on ModelConverter to help running Array.map on a dynamic object.iterateObject function on ModelConverter to help iterating through a dynamic object.hideWithResponse from ExplicitViewModel and instead, implemented the same logics on existing method hide.ExplicitAniViewModel to support "hiding animations" on the view if necessary.hideWithResponse on ExplicitViewModel to hide the associted view while resolving any awaits made on the viewmodel.bindable-data.getSearchParams to Navigation module.URLSearchParams argument type for Navigation.pushPath.ExplicitViewModel to any.DependencyContainer.bindable-bloc package. Specifically, a new package bindable-data was used instead which is a subset that doesn't include the weird BLoC stuffs. All in short, this now allows for a less-complex way for a dependency to retrieve other dependencies.ExplicitViewModel.show would not pass the parameters to the model when the view is already being shown.onRoutePath on RoutedViewModel.RoutedViewModel.onRouteParams to retrieve current path.EventAction to achieve similar effect to C#'s event.IApi in IStreamableDataApi from T | null to just T.ApiResponse class to be resolved by IApi's request(). This is to enforce the APIs to catch errors if there would be any.ModelConverter just for consistency.