Hacker Newsnew | past | comments | ask | show | jobs | submit | more dinko7's commentslogin

Hi, author of the article here.

Any state management approach requires you to adapt your way of thinking, whether that be BLoC, Riverpod, Redux or anything you want to use.

Rivepod gained popularity because it's really simple to pick up: create a Notifier, create a Provider for it, and observe, while some other approaches require additional boilerplate, setup, and understanding.

Your approach would work if you are only observing that state from a single widget, which might not always be the case. Additionally, assuming useState is using setState under the hood means it will rebuild the whole widget on change, while with Riverpod, you have the flexibility to wrap any part of a complex widget into a Consumer or listen to only part of the exposed state on the Notifier with .select().

To put it simply: - Notifiers are used for app state - Hooks are used for ephemeral state (local widget state)

Hope this clears it bit for you.


Great summary, it does indeed! Thanks for taking the time to reply


SEEKING WORK | CET | Remote Senior Mobile (Android/iOS/Flutter) engineer looking for work. Creating high quality mobile & TV apps is my passion. Mobile architecture, clean code, SOLID principles, Unit and UI tests, CI/CD.

Skilled with Android, Flutter, Dart, Firebase, MongoDB, MVVM, Kotlin, XML & Jetpack Compose, Swift, SwiftUI.

Experience in agile environments, leading smaller teams, code reviews, pair programming, and mentoring.

Resume: https://drive.google.com/file/d/10CiD5gXEpFFlLO2o5numpMpXgF4...

Github: https://github.com/dinko7

LinkedIn: https://linkedin.com/in/dinko-marinac/

Blog: https://dinkomarinac.dev/


SEEKING WORK | CET | Remote Senior Mobile & TV (Android and Flutter) engineer looking for work. Creating high quality mobile & TV apps is my passion.

Mobile architecture, clean code, SOLID principles, Unit and UI tests, CI/CD.

Skilled with Android, Android TV, Flutter, Firebase, MVVM, Kotlin, Jetpack.

Experience in agile environments, leading smaller teams, code reviews, pair programming, and mentoring.

Resume: https://drive.google.com/file/d/1Pv6DisDGLJV-wiNRxDDEmjP8l4m...

Github: https://github.com/dinko7


Location: Zagreb, Croatia Remote: Remote only, willing to travel on occasion Willing to relocate: No

Technologies: Android, Android TV, Flutter, Firebase, Kotlin, Jetpack

Résumé/CV: https://drive.google.com/file/d/1Pv6DisDGLJV-wiNRxDDEmjP8l4m...

Github: https://github.com/dinko7

Searching for Android and Flutter roles


Location: Zagreb, Croatia Remote: Remote only, willing to travel on occasion

Willing to relocate: No

Technologies: Android, Android TV, Flutter, Firebase, Kotlin, Jetpack

Résumé/CV: https://drive.google.com/file/d/1823f4vX18r7QJGGhL2dIcFbZeIV...

Github: https://github.com/dinko7

Searching for Android and Flutter roles.


SEEKING WORK | CET | Remote Senior Mobile & TV (Android and Flutter) engineer looking for work.

Creating high quality mobile & TV apps is my passion.

Mobile architecture, clean code, SOLID principles, Unit and UI tests, CI/CD.

Skilled with Android, Android TV, Flutter, Firebase, MVVM, Kotlin, Jetpack.

Experience in agile environments, leading smaller teams, code reviews, pair programming, and mentoring.

Resume: https://drive.google.com/file/d/1823f4vX18r7QJGGhL2dIcFbZeIV...

Github: https://github.com/dinko7


SEEKING WORK | CET | Remote Senior Mobile & TV (Android and Flutter) engineer looking for work. Creating high quality mobile & TV apps is my passion.

Mobile architecture, clean code, SOLID principles, Unit and UI tests, CI/CD.

Skilled with Android, Android TV, Flutter, Firebase, MVVM, Kotlin, Jetpack.

Experience in agile environments, leading smaller teams, code reviews, pair programming, and mentoring.

Resume: https://drive.google.com/file/d/1823f4vX18r7QJGGhL2dIcFbZeIV...

Github: https://github.com/dinko7


Location: Zagreb, Croatia

Remote: Remote only, willing to travel on occasion

Willing to relocate: No

Technologies: Android, Android TV, Flutter, Firebase, Kotlin, Jetpack

Résumé/CV:https://drive.google.com/file/d/1823f4vX18r7QJGGhL2dIcFbZeIV...

Github: https://github.com/dinko7

Searching for Android and Flutter roles.


Location: Zagreb, Croatia Remote: Remote only, willing to travel on occasion Willing to relocate: No

Technologies: Android, Android TV, Flutter, Firebase, Kotlin, Jetpack

Résumé/CV:https://drive.google.com/file/d/1823f4vX18r7QJGGhL2dIcFbZeIV...

Github: https://github.com/dinko7

Searching for Android and Flutter roles.


SEEKING WORK | CET | Remote Senior Mobile & TV (Android and Flutter) engineer looking for work.

Creating high quality mobile & TV apps is my passion. Mobile architecture, clean code, SOLID principles, Unit and UI tests, CI/CD.

Skilled with Android, Android TV, Flutter, Firebase, MVVM, Kotlin, Jetpack.

Experience in agile environments, leading smaller teams, code reviews, pair programming, and mentoring.

Resume: https://drive.google.com/file/d/1823f4vX18r7QJGGhL2dIcFbZeIV...

Github: https://github.com/dinko7


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: