Content
@
0 reply
0 recast
0 reaction
Darryl Yeo đ ïž
@darrylyeo
Let's do some introductions: 1. What's your favorite HTML/CSS/JavaScript feature? 2. What are you currently using /frontend technology to build? 3. What framework, library or stack are you hoping to learn, or think more people should know about? Extra bonus if you include links to developer.mozilla.org and GitHub!
47 replies
18 recasts
189 reactions
younatan.ethđ©
@matyounatan
1) encodeURIComponent (love me some good query params) 2) using @vercel/og to dynamically create frames using tailwind https://vercel.com/docs/functions/og-image-generation/og-image-examples#using-tailwind-css---experimental 3) not rly frontend? but learning terminal-kit, want to build some pretty CLI tools!
1 reply
0 recast
0 reaction
Darryl Yeo đ ïž
@darrylyeo
Serializing state inside of URLs is a pretty underrated pattern! https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent It's even easier to do now with a URLSearchParams object: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams
1 reply
0 recast
0 reaction
younatan.ethđ©
@matyounatan
yess! this is exactly what I'm doing with my $DEGEN Uniswap v3 P/L frame - serialized your last 5 swaps and store them as query params to generate an opengraph image using @vercel/og https://warpcast.com/matyounatan/0x26265d5b
1 reply
0 recast
0 reaction