@zens@merveilles.town Every 'component' is defined as a clean translation from template+data to output HTML, with nothing else involved.
There's no weird global scoping nonsense going on, or strange inheritance semantics, or all the other weird and unpredictable ways in which 'conventional' templaters try to implement parameterizable snippets.
@zens@merveilles.town ... what? You insist that we're talking about the same thing, but none of what you're describing actually resembles the usage pattern that I'm describing (and use on a regular basis) at all.
What do you mean with "mixed in together"? Why wouldn't it "let you have separate template files"?
@zens@merveilles.town I think we're talking about two completely different things. React, in and of itself, is nothing but a library that converts template + data -> HTML, with some conceptual support for incremental changes. That's it, really.
When running this server-side, you don't see any of this as the user. The server produces HTML just like it would with any other templating library - this doesn't break userscripts or userstyles, it's just HTML. In whatever shape you specify, with whatever CSS you specify, as with any other HTML.
What I'm referring to with "components" is entirely in the context of server-side templating, *not* stuff like "web components" - I mean reusable chunks of HTML like eg. the site header/footer, menus, that sort of thing.
Most every templater in the past decade+ (think eg. Jinja-type stuff) has *something* for this, but it's all extremely leaky and inflexible. That's the specific thing that React does better.
@meave BBQ not working?
Grill issue.
@zens@merveilles.town It's actually quite nice as a general-purpose templater, because of the whole reusable components thing (basically every other templater has hella leaky abstractions for this).
The mistake that people make is to do this on the browser side, when they *should* be rendering it server-side, and just serving static HTML. Which is 100% possible with React...
@lyncia @puzzler995 @rezzish @meave cant breathe underwater?
gill issue
@mycorrhiza @scanlime "If someone is trying really hard to look authoritative, they're probably not"
how to save an email as PDF on iOS (not satire yet it is)
Save an email as a PDF on your iPhone or iPad
In the Mail app, tap an email.
To save the email or the email thread as a PDF, tap the More Actions button at the bottom of the toolbar.
Scroll down and tap Print.
Touch and hold the preview of the email at the bottom of the screen. A larger preview opens.
Tap the larger preview.
Tap the Share button , then tap Books.
If you don't see Books, tap the More button. Then tap Books.
Your PDF opens and automatically saves in the Books app. You can find it later in the Library tab.
To access your files on any of your other devices, make sure that you set up iCloud Drive.
@mizlemon Ah yes, the refrain of tech folks who do not understand the power dynamics under capitalism, and wrongly assumed that *they* were going to be the beneficiary of the improvements... 😐
…And on that last note, I’ve been trying to find alternatives to Raspberry Pi – would be very interested if folks have any leads… especially to boards that can be used for education.
#Education #singleBoardComputers #RaspberryPi #alternatives #ARM
In the process of moving to @joepie91. This account will stay active for the foreseeable future! But please also follow the other one.
Technical debt collector and general hype-hater. Early 30s, non-binary, ND, poly, relationship anarchist, generally queer.
- No alt text (request) = no boost.
- Boosts OK for all boostable posts.
- DMs are open.
- Flirting welcome, but be explicit if you want something out of it!
- The devil doesn't need an advocate; no combative arguing in my mentions.
Sometimes horny on main (behind CW), very much into kink (bondage, freeuse, CNC, and other stuff), and believe it or not, very much a submissive bottom :p
My spoons are limited, so I may not always have the energy to respond to messages.
Strong views about abolishing oppression, hierarchy, agency, and self-governance - but I also trust people by default and give them room to grow, unless they give me reason not to. That all also applies to technology and how it's built.