Modern Compose Architecture with Circuit by Zac Sweers and Kieran Elliott

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

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

  • @JacquesSmuts
    @JacquesSmuts Год назад +9

    I've seen so many examples and guides explain that you should do the code at 02:00. Thank you for calling that out.

  • @FilippoVigani
    @FilippoVigani Год назад +2

    Does the definition of the eventSink function inside the state cause composables that call it (such as the button) to recompose when the state changes?

  • @tamim7460
    @tamim7460 Год назад +6

    Compose iOS support should be there!!

    • @Mrdresden
      @Mrdresden Год назад +3

      How about you contribute it to the project then.

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

      @@Mrdresden I’m thinking about that actually

    • @Pandanomic
      @Pandanomic Год назад +2

      ​@@tamim7460 Landed preliminary support on main :). When we were preparing the talk, compose for iOS was not yet in alpha (announced at the same conference)

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

      @@Pandanomic awesome, thanks for the info

  • @elsenalmasli1499
    @elsenalmasli1499 Год назад +1

    It is for great for MVP and Compose. But I have a bad news it is same thing MVVM
    fun foo(vm){
    collect state
    }
    fun foo(state){
    state
    } 😕

  • @andy_lamax
    @andy_lamax Год назад +2

    Nice talk

  • @abdelrahmanesam3684
    @abdelrahmanesam3684 Год назад +5

    why should I do that ? what is the benefit of that over MVVM/MVI ?

  • @shahar19971
    @shahar19971 Год назад +1

    Can i use circuit with Hilt?

    • @Pandanomic
      @Pandanomic Год назад +3

      We haven't tried it but nothing should prohibit it, once you get to compose then Circuit can run from there.

    • @Pandanomic
      @Pandanomic Год назад +1

      @@johnbuhanan5857 circuitinject, as its readme says, is intended for use with Anvil. You can build something else for use with hilt if you want though, my comment was more that there's nothing inherently stopping you

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

      ​@@Pandanomic so generally speaking, if i open a new project (moving from an old monolith to new modularized project, circuit will happy with Dagger Anvil?

    • @Pandanomic
      @Pandanomic Год назад +1

      @@shahar19971 that's how we use it at slack and in the circuit star sample

  • @johnbuhanan5857
    @johnbuhanan5857 8 месяцев назад

    Circuit is the future...