Skip to content

Yet another UDF loop implementation for KMP

License

Notifications You must be signed in to change notification settings

atomgomba/hurok

Repository files navigation

Hurok

This is a framework library for developing applications on the JVM based on the unidirectional dataflow model.

flowchart LR
    A[First State] -->|Input| B{Action} -->|Mutate| C(Model) --> D[Renderer] -->|Derive| E[Next State] -.->|Input| B
    B -->|Trigger| F([Effect]) --> B 
Loading

Parts

Name Description
Model Holds data for business logic
State UI state derived from the Model
Renderer Uses the Model to create State
Action Mutates the Model and can trigger (any) Effect
Effect Does background work and triggers (any) Action
Loop Renders Model into State and executes Action and Effect

Example code

For code samples please see Othello for Android.

About

Yet another UDF loop implementation for KMP

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages