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
23 replies
22 recasts
195 reactions

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

horsefacts pfp
horsefacts
@horsefacts.eth
Yes, for lots of use cases you probably still want a backing store like Redis.
1 reply
0 recast
2 reactions