I'm trying to find a long-term client-side architecture for my Compose/Web application.
Currently I'm looking at:
1. https://arkivanov.github.io/Decompose/
2. https://github.com/badoo/RIBs/blob/master/documentation/about/evolution-of-ribs.md
Can someone please explain the main difference between them from an architectural viewpoint?
(I see that RIBs is not multiplatform, so I'm just curious about the differences.)
Besides, does anybody have experience with Decompose in a real application?
a
Arkadii Ivanov
11/12/2021, 6:26 PM
Maybe @spierce7 can share some experience?
๐๐ป 1
s
spierce7
11/12/2021, 11:25 PM
@Norbi I highly recommend using decompose. Decompose is inspired by ribs (if Iโm not mistaken). It can be a bit of a shock to the system if you are used to programming on Android / ios.
I ended up giving up dependency injection during the switch to decompose as well. Itโs a big change, but I also think that itโs for the better. There is no magic. There is no question about where a dependency comes from, and there is a bit more code. It also takes about 3 days of working with it non-stop to fully understand all the moving pieces, but the end result is that when you write code, if it compiles, it also probably works.
โค๏ธ 1
๐๐ป 1
spierce7
11/12/2021, 11:25 PM
I highly recommend the investment of time in moving to decompose. My team and I have really enjoyed it.