Modern Compose Architecture with Circuit by Zac Sweers and Kieran Elliott

แชร์
ฝัง
  • เผยแพร่เมื่อ 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 ปีที่แล้ว +4

    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 4 หลายเดือนก่อน

    Circuit is the future...