Content
@
0 reply
0 recast
0 reaction
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
399 reactions
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
Pat Sissons
@potats
damn, this was the feature i was looking for last weekend. this will make things so much easier! 🎉
0 reply
0 recast
0 reaction