Content pfp
Content
@
0 reply
0 recast
0 reaction

normal horsefacts pfp
normal 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

normal horsefacts pfp
normal 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

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
👍 You know I had my concerns about this, but in addition just providing a shortcut for devs, there are some cases it's necessary: When the server that serves the frame is not the same that receives the action (either distributed infra, or a different vendor).
0 reply
0 recast
1 reaction