Content
@
https://warpcast.com/~/channel/frames-devs
0 reply
0 recast
0 reaction
headless 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
26 replies
57 recasts
271 reactions
headless 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
2 replies
1 recast
8 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