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
dylan
@dylsteck.eth
do you mean making the ready function call? you can gate this by the context data coming in but I agree it’s still an extra function run etc would be curious to see more data/exploration here!
1 reply
0 recast
1 reaction
Darryl Yeo 🛠️
@darrylyeo
I’m wondering if there’s a reliable way to detect if my web app is running as a mini-app without the provided JavaScript SDK at all, so I can code-split and `await import()` it conditionally.
2 replies
0 recast
1 reaction