Releases: beyondeye/compose_bloc
Support of Router and path-based navigation
samples for compose web platform and bug fixes
- added methods
renderComposableWithNavigator
andrenderComposableInBodyWithNavigator
to attach a composable that support blocs and navigator to an html element. - added samples for Compose Web
- added missing
remember
wrapping inBlocProvider
,BlocBuilder
,BlocListener
,BlocSelector
andBlocConsumer
added support for Web platform
v0.11.0 added withJs option to setupModuleForComposeMultiplatform
kbloc-koin is now a multiplatform module
Solved the issue in original voyager that did not allow voyager-koin to be a multiplatform module
updated deps: compose compiler to 1.3.0 and kotlin to 1.7.10
update kotlin to 1.7.10
new version of compose-jb: 1.2.0-alpha01-dev764
and compose_compiler 1.3.0
Better Lifecycle handling and added back all original voyager modules
Library code has been split according to original criteria of voyager, so now we have the following modules:
// Navigator: (multiplatform library)
implementation "io.gihub.beyondeye:kbloc-navigator:0.10.0"
// BottomSheetNavigator (multiplatform library)
implementation "io.gihub.beyondeye:kbloc-bottom-sheet-navigator:0.10.0"
// TabNavigator (multiplatform library)
implementation "io.gihub.beyondeye:kbloc-tab-navigator:0.10.0"
// Transitions (multiplatform library)
implementation "io.gihub.beyondeye:kbloc-transitions:0.10.0"
// Android ViewModel integration (android library)
implementation "io.gihub.beyondeye:kbloc-androidx:0.10.0"
// Koin integration (android library)
implementation "io.gihub.beyondeye:kbloc-koin:0.10.0"
// Kodein integration ( (multiplatform library)
implementation "io.gihub.beyondeye:kbloc-kodein:0.10.0"
// Hilt integration (android library)
implementation "io.gihub.beyondeye:kbloc-hilt:0.10.0"
// RxJava integration (JVM library)
implementation "io.gihub.beyondeye:kbloc-rxjava:0.10.0"
// LiveData integration (android library)
implementation "io.gihub.beyondeye:kbloc-livedata:0.10.0"
also Activity
lifecycle handling has been improved: Now when subscribing to Bloc stream or ScreenModelState
stream
this is done with mp_collectAsStateWithLifecycle()
which automatically pause flow collection when activity is paused
Initial release
dependencies versions:
kotlin_version = "1.7.0",
compose_core_libs = "1.2.0",
compose_material = "1.2.1",
compose_activity = "1.4.0",
jbcompose = "1.2.0-alpha01-dev755",
compose_compiler = "1.2.0-dev-k1.7.0-53370d83bb1"