Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
Darryl Yeo 🛠️
@darrylyeo
What’s the cost of importing and initializing `@farcaster/frame-sdk` on every page load if someone were to use my web app outside of a mini-app context? Is there an alternative flow that doesn’t rely on this dependency?
3 replies
0 recast
4 reactions
r28890666
@r28890666
If the user isn't in a Farcaster client, the SDK does nothing – it's lightweight (~3kb) and only activates when frames are detected. For non-frame use cases, you can skip it entirely and handle basic redirects/API calls with standard fetch() or your existing backend logic. No hard dependency needed.
0 reply
0 recast
0 reaction