Leland Richardson Profile picture
Software Engineer @Google working on Jetpack Compose and Android. I like learning, discussing, and diving into challenges. https://t.co/NedXdWh5Fm
Dec 6, 2020 14 tweets 5 min read
These two lines are definitely analogous. Note that they used to be even closer when we had a `state` shorthand function for this. To be clear, this isn’t a secret and I myself made the comparison in a public talk at a react conference around 1.5 yrs ago: There are some important distinctions though. `mutableStateOf` creates an observable state object which can be created outside of composition (ie, outside of render) unlike useState and other hooks.
Aug 26, 2020 15 tweets 6 min read
OK. It's that time where I Compose a tweet about all of the awesome content that came out today! (btw, even more coming soon!)

So compose wen't alpha today.

Here's the blog post: android-developers.googleblog.com/2020/08/announ…

But what does that mean? (1/n) It means that it's mature enough that we are confident that you can build some awesome stuff with it. It _is_ alpha, so some things will change and bugs might exist. But it's a big step from dev preview.

And there's no more need for a custom kotlin compiler! We target Kotlin 1.4
Jun 25, 2019 8 tweets 2 min read
I can’t speak for React/Vue directly, but as someone who spent a lot of time debating between function and class APIs for Jetpack Compose, I may have some perspective here… (1/n) For a long time we’ve been seeing the “mental model” of frameworks like React shown as “UI = f(state)”. The essential part of every component was the render function.
Dec 8, 2018 20 tweets 3 min read
So the way I see it, there are three aspects to this problem.



1) Investment

2) Technology

3) Culture

Gonna need more than 280 characters for this one…

A thread: 1). Investment:
Companies are pushing everyone towards their native apps. The web is littered with “open this in my app” banners that destroy whatever semblance of a good experience could have been on the web site anyway, making the average mobile-web experience *terrible*.
Jun 21, 2018 12 tweets 9 min read
@geirmanc @gpeal8 I know you didn't me directly, but I have some context here :)

Championing:
Originally @spikebrehm and myself were the primary champions. In fact, before I joined spike was on a pitch call with me and said something like "why don't you join and start a RN effort at airbnb?" @geirmanc @gpeal8 @spikebrehm Little did he know...

Anyway, things don't happen that quickly. It was 8-9 months after I joined before this actually became a reality of sorts. Multiple stakeholders were involved, and it started out as an experiment where we would try to build out a non-critical feature