I was trying to figure out why Google maps was saying there’s no trains to stansted AND ITS BECAUSE IT TRIES TO MAKE YOU TAKE A BUS FROM THE TRAIN STATION TO THE TERMINAL (which are like a minute apart) WITH A TEN MINUTE WALK EACH SIDE OF THE BUS
that's actually a kinda neat concept - letting people use "in game" currency to bet on the future like count of a post. This could give even stronger signals to feed algorithms than the raw like count.
if you haven’t tried react query PLEASE give it a try!! It’s not just for fetching stuff, it’s for dealing with ALL asynchronous state in a beautiful way. you will never write a useEffect again
I have 12k LoC for Graysky and 24 useEffects, almost all of which are either syncing with external state, like messing with react navigation, or invalidating/setting the react query cache. zero fetches :)
an old project from before I discovered RQ has almost twice as many useEffects per LoC
Oh no cursed fix idea to graysky’s scroll position in threads being terrible: invert the flashlist and the data, then use onBottomReached to append to top
Considering capping bios on here at 3 lines with a show more button; twitter definitely got it right with no line breaks. Some of your profiles are like a full screens worth of text