Hi all ! I'm looking for some ressource or explana...
# compose
f
Hi all ! I'm looking for some ressource or explanation to understand why Compose use function instead of class ? I've listened this Android Leaks episode, where Leland and Romain explain a little bit about the starting point of Compose (at approximately 11 minutes). They say that at the beginning of Compose, they first decided to declare component as classes. I'm really curious to find an example of what it looked like at that time (when using classe). Also I have trouble to imagine what was the extra rules they had to add to declare how the class should behaved and why it started to become less and less a good approach to use classes. Thanks for your help 🙏