Easiest way to understand to mobX state management in Flutter

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • In this, I have explored mobX state management in detail, and I have also implemented mobx in Flutter
    Github : github.com/the...

Комментарии • 85

  • @jrgunner10
    @jrgunner10 4 года назад +6

    Easiest Explanation on mobx i found on the Interenet.... Good Work Man

    • @EasyApproach
      @EasyApproach  4 года назад

      Thank you man. Please subscribe the channel

  • @abrhamdiriba5030
    @abrhamdiriba5030 2 года назад

    Stupid me didn't add the Observer widget and has been scratching my head since yesterday. Thanks for your videos.

  • @amit.flutter
    @amit.flutter 3 года назад +2

    brother no matter how much we say thank you, it's all less...
    you are always there in the first video when I found any problem. if you observed closely most of the Indian students watch your video
    so from all the Indian students once again I would like to say thank you so much #never stop making flutter tutorial

    • @EasyApproach
      @EasyApproach  3 года назад

      Love from Pakistan for all indians :)

  • @silverhairs
    @silverhairs 4 года назад +2

    This is the best video on MobX I've found

  • @LibeduX
    @LibeduX 3 года назад +2

    One of the best crash course on mobx, thank you

  • @jrheisler
    @jrheisler 4 года назад

    I just started Flutter, but a long time desktop client server developer. This is the most straightforward example of any kind of real state management I have seen yet. Liked and Subscribed!!!

  • @hendrickmanenga9213
    @hendrickmanenga9213 4 года назад +1

    Mobx is so much more practical than BLOC.Tnx for explaining

    • @EasyApproach
      @EasyApproach  4 года назад

      Thanks. If you like the video, please subscribe the channel

  • @soumyaranjanmishra5802
    @soumyaranjanmishra5802 2 года назад +1

    It's very helpful !!

  • @satheeshguduri
    @satheeshguduri 3 года назад +1

    Thanks for the video, i am your subscriber now..

  • @fabiomendes6901
    @fabiomendes6901 3 года назад +1

    This is Gold! Thank you so much!

    • @EasyApproach
      @EasyApproach  3 года назад

      Thank you. Please subscribe the channel.

  • @ruma9338012757
    @ruma9338012757 3 года назад +1

    You are perfect teacher

    • @EasyApproach
      @EasyApproach  3 года назад

      Thank you. Please subscribe the channel.

  • @A.A.
    @A.A. 4 года назад +1

    Big thumbs up deserved, big thumbs up given.

    • @EasyApproach
      @EasyApproach  4 года назад

      Thank you. Please subscribe the channel.

  • @shriyanshraj8425
    @shriyanshraj8425 3 года назад +1

    Thank you, You are awseome

    • @EasyApproach
      @EasyApproach  3 года назад

      Thank you. Please subscribe the channel.

  • @Sankkku
    @Sankkku 4 года назад

    U deserve million subscriber...

  • @UGNEWS24
    @UGNEWS24 3 года назад

    thank you for this video.

  • @waheedhussainhaans8176
    @waheedhussainhaans8176 3 года назад +1

    Commenting for better reach

  • @akarshs9552
    @akarshs9552 4 года назад +1

    Nice one, Create a crud in mobx

    • @EasyApproach
      @EasyApproach  4 года назад

      Thank you. Please subscribe the channel.

  • @olamilekanadeleke6806
    @olamilekanadeleke6806 4 года назад +2

    Thanks for the video 😁. Please can you do this but with state management with firebase collection documents 😇

  • @kishon2810
    @kishon2810 3 года назад +1

    nice tutorial, tnx!)

    • @EasyApproach
      @EasyApproach  3 года назад

      Thank you. Please subscribe the channel.

    • @kishon2810
      @kishon2810 3 года назад

      @@EasyApproach yeah, i did it)

  • @luiszp
    @luiszp Год назад

    Good job!

  • @yashraut19
    @yashraut19 4 года назад +2

    Do we have to run build runner command whenever we add new observable or action ?

    • @semsax6862
      @semsax6862 4 года назад +4

      good question.
      I found this in the Mobx.dart documentation:
      Stay on watch
      If you are making changes to the store and want to generate *.g.dart files automatically, you can use the following command:
      flutter packages pub run build_runner watch
      References:
      mobx.netlify.app/getting-started

  • @lattelover7186
    @lattelover7186 4 года назад +1

    Nice. Can you please explain on how to make mobx as global store used by several pages. Thanks.

  • @ianoliveiradev
    @ianoliveiradev 4 года назад +1

    mobx is perfect!!

  • @ashwanisharma579
    @ashwanisharma579 4 года назад +1

    please make one on redux with middleware

  • @mohammadcharkhchi9962
    @mohammadcharkhchi9962 3 года назад

    Thank you

  • @KoradiyaAbhay
    @KoradiyaAbhay 4 года назад +1

    awesome.. need real time example with some api call and states.

    • @EasyApproach
      @EasyApproach  4 года назад

      Thanks will do. Please subscribe the channsl

  • @__sagar_shah__591
    @__sagar_shah__591 3 года назад

    Should make one on MODULAR as well.

  • @tuphuongdanh4569
    @tuphuongdanh4569 4 года назад +1

    Nice video,

  • @yashraut19
    @yashraut19 4 года назад

    Great work !!🔥

  • @VJKoding
    @VJKoding 4 года назад +1

    Awesome thanks you❤️

  • @leonvanrijswijk8409
    @leonvanrijswijk8409 4 года назад +1

    Thanks. Can you easily use mobx with a rest api (that is not a stream)? Maybe a video on that?

    • @EasyApproach
      @EasyApproach  4 года назад +1

      Yes we can use. Thanks for the suggestion will make video on that :) subscribe the channel for notification

  • @sagarshah440
    @sagarshah440 3 года назад

    is that all that MOBX is?? or is there more??

  • @diegophhh
    @diegophhh 4 года назад

    Thanks for the video. Which do you like best? Provider, Mobx or BLoc?

    • @EasyApproach
      @EasyApproach  4 года назад +2

      Both are good but mobx is relatively easier

    • @EasyApproach
      @EasyApproach  4 года назад +2

      I am gonna make video on differences between different state managements. Subscribe the channel

  • @vinaybakle6443
    @vinaybakle6443 2 года назад

    What about reaction? we dont have to define it?

  • @federico.magnani
    @federico.magnani 4 года назад +1

    I don't get it. It seems like it has made things way more complicated than they need to be with the default setState() logic

    • @EasyApproach
      @EasyApproach  4 года назад

      Setstate in long run becomes so horrific because you don't know on which places you wrote setState. So it becomes pretty messy and complex to manage state since state is available on different places, however, instead, mobx or any other state management may look complex initially but in long run, it makes your code more easy to manage since there is only one place where the state exist.

  • @sanketsingh794
    @sanketsingh794 4 года назад

    Hi, great video,
    Thanks a lot for posting it,
    I am still a bit confused on why at 15:08 we have used _$counterStore; , where is that coming from?

    • @EasyApproach
      @EasyApproach  4 года назад

      This is some boilerplate code that have to write in order to generate code corresponding to out store class. Basically it is requirement from mobx code generator package.

  • @harisbashir2719
    @harisbashir2719 4 года назад

    Assalmulaikum . Sir I want to ask a question.I want to learn mobile application development . I have zero knowledge about that . I have little bit experience on web development using Asp.net . Some of my seniors suggest me to Learn flutter or react native because you will create apps for both Android and iOS using single codebase. Some suggest that start from native development using kotlin or Java for Android and Swift for iOS because you will stuck in messy code of widgets in flutter If you work on big projects and flutter is only good for interactive user interfaces .I realize that Dart syntax is pretty much simliar to c# or Java and I have good knowledge about c# including oop concepts . So please guide me either I learn flutter for mobile development or react native and what is the future of mobile development .

    • @francescofreddi4374
      @francescofreddi4374 4 года назад +2

      i suggest Flutter! you can built for: Android, Apple (iphone and MAC!), WEB, Windows (in future i think), Linux

    • @EasyApproach
      @EasyApproach  4 года назад

      I prefer flutter because it's easy, great, power, and owned by google ;)

    • @olamilekanadeleke6806
      @olamilekanadeleke6806 4 года назад +2

      Pick flutter, I code in mainly python and have on experience in either dart or flutter be4 I start but my knowledge on python oop made learning dart and flutter very easy and now I can actually code in flutter (I won't say an a pro or very good at it but I can the average stuff).

  • @PabloMartinezfr
    @PabloMartinezfr 4 года назад

    I've shared on my LinkedIn.

    • @EasyApproach
      @EasyApproach  4 года назад

      Thank you :) Please subscribe the channel

  • @francescofreddi4374
    @francescofreddi4374 4 года назад +1

    can you create an video like that for Provider state managment? please

    • @EasyApproach
      @EasyApproach  4 года назад +1

      Sure i will make

    • @EasyApproach
      @EasyApproach  4 года назад +1

      Obs

    • @mars3142
      @mars3142 4 года назад +1

      Provider isn't used for state management.

    • @francescofreddi4374
      @francescofreddi4374 4 года назад

      @@mars3142 in inherit widgets, so you can use!!! And is very comfortable!!!
      Try it!!!! Trust in me :)

  • @KoradiyaAbhay
    @KoradiyaAbhay 4 года назад

    mobX vs provider? which is better?

  • @ahmedafridee3997
    @ahmedafridee3997 4 года назад

    import 'package:mobx/mobx.dart';
    class genderState{
    Observable male = Observable(true);

    Action change;

    gender_changer(bool value){
    change = Action((){
    male.value = value;
    });
    }
    }
    Can anyone tell me how I can call this action?

  • @RohanBojja
    @RohanBojja 4 года назад +1

    mobX vs BLOC? mobX seems more natural to me.

    • @EasyApproach
      @EasyApproach  4 года назад

      Mobx is easy as compared to bloc. Bloc is sometimes super complex.

  • @user-gp1uj9ml5t
    @user-gp1uj9ml5t 4 года назад

    Hi dear. Make something about HIVE please.

    • @EasyApproach
      @EasyApproach  4 года назад

      Soon. Please subcribe the channel :)