💾 Archived View for gemini.bortzmeyer.org › fosdem › event-11538.gmi captured on 2021-12-17 at 13:26:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

FOSDEM event "Getting ready for Declarative UIs with Unidirectional Data Flow using Kotlin Coroutines"

Raul Hernandez Lopez

Type devroom

Unidirectional Data Flow in action: suspend functions, Flow & StateFlow to make our Reactive apps prepared for Declarative UIs.

Starts on day 2 (2021-02-07) at 16:40 (Brussels time, UTC+1) in room Kotlin (duration 00:45)

Matrix room #kotlin:fosdem.org

Unidirectional Data Flow (UDF) is a powerful technique that enhances our Reactive apps to work deterministically.

Synchronising our views with fresh data was never an easy task to accomplish. For this same reason, there are mechanisms that support us to make that possible. Surely callbacks were a thing in the past, however, they were an antipattern themselves due to the lack of readability. Now we don't need to deal with them any more thanks to Kotlin Coroutines.

Getting ready for Declarative UIs with Kotlin Coroutines and friends is indeed feasible, now we could use suspend functions, Flow and in the end StateFlow would make our Reactive apps ready for Declarative UIs.

Let’s define a single entry point, receive data, transform it into a state, and render each state. Let’s get our apps ready for a Declarative UI world on Android.

FOSDEM schedule page