parent
53309079dd
commit
372339d082
3 changed files with 16 additions and 2 deletions
@ -1 +1,14 @@ |
||||
# Reactive programming |
||||
# Reactive Programming |
||||
|
||||
Reactive programming is a programming paradigm that allows for handling changing data streams and updating the UI based on those changes. In Flutter, reactive programming can be achieved using: |
||||
|
||||
1. Streams: A sequence of asynchronous events. |
||||
2. Futures: A way to represent a single asynchronous operation. |
||||
3. BLoCs (Business Logic Components): A state management pattern that uses streams to separate business logic from UI code. |
||||
|
||||
Reactive programming in Flutter helps create dynamic and responsive apps that can handle changing data and update the UI accordingly. The `StreamBuilder` and `FutureBuilder` widgets are commonly used in Flutter to build reactive UIs. |
||||
|
||||
Learn more from the following links: |
||||
|
||||
- [Get Started with Reactive Programming](https://www.didierboelens.com/2018/12/reactive-programming-streams-bloc-practical-use-cases/) |
||||
- [Reactive Programming in Flutter](https://www.youtube.com/watch?v=x4FKXw4Uvls) |
Loading…
Reference in new issue