Headless @Composable hooks that drive UI logic. Inspired by React.
⚛ react |
❓ query |
---|---|
- useState
- useEffect
- useContext
- useReducer
- useToggle
- useConnnectionStatus
- useQuery
Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
repositories {
...
maven {
url = uri("https://jitpack.io")
}
}
Step 2. Add the dependency
dependencies {
implementation("com.github.pavi2410.useCompose:<module_name>:<version>")
}
I want your help in making this library extensive such that this cover many of the commonly used hooks. Also, I want your help in building a KMP friendly library.