#dev 2024-04-07
2024-04-07 UTC
# [Al_Abut] MDX is an extension of the Markdown language that mixes in JSX components, which helps with creating reusable elements, and more interactive charts and alerts. Website for more info: https://mdxjs.com
# [Al_Abut] Ooo, sounds juicy. I humbly request some venting about JSX.
# [Al_Abut] I’m not a javascript dev and don’t have a dog in the fight, just been easing into using JSX because that’s Astro’s native way to do reusable HTML components.
# [Al_Abut] So some foresight about possible pitfalls could be useful
lanodan, [Joe_Crawford], Guest1350, [snarfed], [aciccarello], [contact898], [tantek], to2ds, mahboubine and [Jan_Tuomi] joined the channel
# [Jan_Tuomi] Considering how much insanity there is in the JS ecosystem, JSX is one of the saner parts of it in my opinion. And this is coming from an intermittent JS dev. It's just syntactic sugar for a bunch of DOM-representing JS anyway. It's pretty strict too: as long as you properly close your tags it's pretty pitfall-free. I think you are more likely to encounter problems with Astro and the way that it uses JSX rather than JSX itself
to2ds, AramZS and ttybitnik joined the channel
# [Al_Abut] Oh [Jan_Tuomi], how true it is that I’ve had to wrestle with Astro. It took me months of part-time work late last year to port my site from the hand-crafted html to using Astro. To be fair, I’m 99% sure it would’ve been the same with any site generator given the manual nature of my previous site version and I decided to that I’d rather get the rust off of my javascript skills than learn a language like Go that I’d never touch agai
# [Al_Abut] design work.
# [Al_Abut] Having gone through that tunnel though, now I increasingly get that “tipping point” feeling that it was worth it, like jamming out quick markdown blog posts or being able to use components for a new work portfolio.
# [Jan_Tuomi] I’m glad you feel that it was worth it :D Having done a number of frontend rewrites, my experience is that that feeling is not necessarily guaranteed 😅
AramZS and [KevinMarks] joined the channel
geoffo, [aciccarello], IWSlackGateway, [KevinMarks], [tantek], [contact898], [Joe_Crawford], [qubyte], [snarfed], [Al_Abut] and to2ds joined the channel
# gRegor Re-reading https://github.com/indieweb/micropub-extensions/issues/24, the IBC use of draft scope is different than some others. Specifically, draft scope will default post-status=draft on the new post form, but you can select published instead.
[Al_Abut], [tw2113], gRegor, ttybitnik, jeremycherfas and earlps joined the channel