Modern Compose Architecture with Circuit by Zac Sweers and Kieran Elliott

Поделиться
HTML-код
  • Опубликовано: 3 май 2023
  • Recording brought to you by American Express. americanexpress.io/kotlin-jobs
    Compose is revolutionizing UI development, but why stop there? At ‪@Slackhq‬ we’ve been developing a new Compose-first open-source architecture called Circuit. In this talk, we’ll detail how Circuit works and how we’re powering UI business logic with Compose to make writing applications (and their tests!) simple and easy.
    Oh, and multiplatform.
    This session is co-presented by Zac Sweers, Mobile at Slack and Kieran Elliott, Software Engineer at Slack.
    Talk by: Zac Sweers and Kieran Elliott
    #Circuit #Compose #KotlinConf
  • НаукаНаука

Комментарии • 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?

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

    Nice talk

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

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

  • @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
    } 😕

  • @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 3 месяца назад

    Circuit is the future...