Content pfp
Content
@
0 reply
0 recast
0 reaction

horsefacts pfp
horsefacts
@horsefacts.eth
New frame feature: frames can now pass up to 4kb of state to the frame server! This makes it easier for frame devs to build simple, stateful, reactive apps. (Think React state in your frame). See the stateful counter frame below for an example: https://stateful-counter-frame.vercel.app
24 replies
22 recasts
192 reactions

horsefacts pfp
horsefacts
@horsefacts.eth
Docs here: https://docs.farcaster.xyz/reference/frames/spec. Set an `fc:frame:state` tag with serialized state to pass to the server. Your server is responsible for parsing this from a string. Your initial frame should NOT include state. (If it does, it's ignored). https://github.com/horsefacts/stateful-counter-demo
1 reply
3 recasts
11 reactions

Sinaver pfp
Sinaver
@sinaver.eth
Okay, so state will be used to pre-populate upcoming frame transactions? 👀
1 reply
0 recast
1 reaction

Moon pfp
Moon
@moon.eth
So when you pass it it gets sent back, and then you have to pass it again every POST or it disappears? or does it hang around until you clear it? What is the scope? Per-domain?
1 reply
0 recast
1 reaction

Andrei O. pfp
Andrei O.
@andrei0x309
Having state was already possible on the server because the frame posts identification to the server. Nothing stops a server from maintaining and creating state in any kind of database or persistence/cache layer like Redis. This only makes things less expensive and easy on serverside but is not a new feature.
1 reply
0 recast
2 reactions

Sönke Busch pfp
Sönke Busch
@sbusc
Is this supposed to work on mobile? I only ever get the counter to “1” (iOS)
1 reply
0 recast
0 reaction

max ⚡ pfp
max ⚡
@maxp.eth
someone slow this pony down, can’t handle the speed 🚀
0 reply
0 recast
5 reactions

Jason Goldberg Ⓜ️ 💜 pfp
Jason Goldberg Ⓜ️ 💜
@betashop.eth
Team is shipping so fast! Love it!
0 reply
0 recast
4 reactions

yangwao ↑ pfp
yangwao ↑
@yangwao
this is delicious
0 reply
0 recast
3 reactions

Harpalsinh Jadeja pfp
Harpalsinh Jadeja
@harpaljadeja
🙏much appreciated!
0 reply
0 recast
2 reactions

CodinCowboy 🍖 pfp
CodinCowboy 🍖
@codincowboy
wow this is sick
0 reply
0 recast
2 reactions

JussaBaby.eth🎩 pfp
JussaBaby.eth🎩
@jussababy
Scientific analysis complete. Summary: Nice.
0 reply
0 recast
2 reactions

Frame Game Guy pfp
Frame Game Guy
@0xreaper
ya'll are iterating so quickly! so cool to see.
0 reply
0 recast
2 reactions

Sean pfp
Sean
@sean07.eth
Awesome. This is way easier than doing it on my database.
0 reply
0 recast
1 reaction

tricil pfp
tricil
@tricil.eth
You gotta post this to /count
0 reply
0 recast
1 reaction

Ben Adamsky 💭 pfp
Ben Adamsky 💭
@ba
👀👀👀
0 reply
0 recast
1 reaction

𝚣𝚘𝚣 🎩 pfp
𝚣𝚘𝚣 🎩
@zoz.eth
OMG! Thank you for this. Learning how to build frames and the overflow and wiping of state was incredibly difficult to fault find using frames.js This post helped me figure it out!
0 reply
0 recast
0 reaction

Fabri pfp
Fabri
@fabriguespe
Hey there! wanted to quickly share some info about Open Frames - it’s an interoperable standard that expands on the Frames spec. It would be awesome to add you as supporters and list you in our awesome repo! https://github.com/open-frames/awesome-open-frames/
0 reply
0 recast
0 reaction

Fabri pfp
Fabri
@fabriguespe
Hey there! wanted to quickly share some info about Open Frames - it’s an interoperable standard that expands on the Frames spec. It would be awesome to add you as supporters and list you in our awesome repo! https://github.com/open-frames/awesome-open-frames/
0 reply
0 recast
0 reaction

Brian 🎩 pfp
Brian 🎩
@br1an
It resets if viewed in full threat mode
0 reply
0 recast
0 reaction