Samuel
hey @deck.blue - seems like the official @atproto/api package keeps the # sign but you strip it - do you know which behaviour is correct?
4
Samuel
this app should absolutely prioritise adding Community Notes asap. Laughing at them is the only thing holding the other site together
1 1 8
Samuel
svelte runes opinion: let reactivity is super cool to demo but completely falls apart at scale. super pumped to see the svelte team take this seriously :)
1 5
Samuel
I need to make a lil atproto svelte demo at some point. would be a cool lil showcase of the api I think
1
Samuel
Ok putting revalidate: 3600 on the createSession call should fix it I think. Means that the session token will be always less than an hour old. However, seems a little wasteful since I only want to revalidate when the other one needs revalidating
Samuel@samuel.fm· 25 Sept 2023
Next 13 people - how can I group multiple fetch caches together. I need to fetch the session token before fetching posts - how do I make sure it doesn’t use a stale token without completely getting rid of the cache
2 4
Samuel
My understanding is that the getPosts call is run at build time. So actually revalidating the token all the time is a waste of time
1
Samuel
Could I wrap both calls in a cache perhaps? Struggling to find other people talking about this issue
1
Samuel
Next 13 people - how can I group multiple fetch caches together. I need to fetch the session token before fetching posts - how do I make sure it doesn’t use a stale token without completely getting rid of the cache
1 1 1
Samuel
Next 13 is so cool - fetched these posts live from the API using RSCs
1 9
Samuel
Has anyone actually noticed the fact that you can swipe to dismiss the post composer (on ios) until you start typing, after which you can’t
1 7
Samuel
official app pr I’m considering - long press profile tab to switch accounts
1 1 3
Older posts