ThreadSky
About ThreadSky
Log In
mapleleaf.dev
•
66 days ago
astro image accepting a promise is actually so GOATed wtf
Comments
Log in
with your Bluesky account to leave a comment
[–]
t0.lv
•
66 days ago
Astro is very great with promises! I can basically pretend they don't exist most of the time
*flashbacks to jsx pre-suspense*
3
reply
[–]
erika.florist
•
65 days ago
I made it support that so that it was easier to use in MDX especially, but it's great all around
5
1
reply
[–]
remcohaszing.nl
•
65 days ago
That’s great! But you should also know JavaScript expressions in MDX 3 support await :)
4
1
reply
[–]
erika.florist
•
65 days ago
I believe it worked with await but it was more cumbersome to use image inline
`
` bit long
1
reply
[–]
andrewvijay.bsky.social
•
66 days ago
Does it fallback to some error img if it rejects?
0
1
reply
[–]
mapleleaf.dev
•
66 days ago
i would guess it throws during server rendering? not sure tbh
0
reply
Posting Rules
Be respectful to others
No spam or self-promotion
Stay on topic
Follow Bluesky's terms of service
×
Reply
Post Reply
Comments
*flashbacks to jsx pre-suspense*
`