sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

572
active users

#frontenddev

0 posts0 participants0 posts today

Are Web Components & Cybersecurity A Better Combo?

I'm not trying to dunk on popular #UI #frameworks – I'm sure they're totally fine for #cybersecurity stuff, probably get loads of reviews and #audits.

But from my angle: Web Components are *native* to the #browser. Doesn't that just inherently reduce the risk of **#SupplyChainAttacks** (you know, like a rogue `npm install` on a bad network) for your #AppSecurity?

Or am I overthinking it, and the #framework choice is less important than the #browser, #OS, or #device running it? What are your thoughts, #DevCommunity?

---

Quick context: I've got a #ReactJS #messagingApp (repo here: github.com/positive-intentions) and a separate #UIFramework (repo here: github.com/positive-intentions) built with #Lit (which uses Web Components). I'm genuinely wondering if there's a compelling #cybersecurity reason to refactor the chat app to use my #WebComponent UI framework. Might be a whole new level of #SecurityByDesign for #FrontEndDev.

FYI, same question's on Reddit here: reddit.com/r/ExperiencedDevs/c, got some good #insights, but want to make sure nothing's getting overlooked! Let's discuss #InfoSec #WebDev #JavaScript #OpenSource #TechQuestion.

People print websites, so I wrote an article over on @piccalilli about how to make sure they don’t feel the need to pull out all their hair while printing yours.

Decimate a rainforest, spend a fortune on some new ink cartridges, unjam the mechanism, print off the article, and give it a read.

https://piccalil.li/blog/printing-the-web-making-webpages-look-good-on-paper/

Page image for Piccalilli
PiccalilliPrinting the web: making webpages look good on paperDeclan Chidlow takes us on a really interesting tour of the often, under-reported world of print stylesheets, how to use them and also how to debug them.

🚀 New Blog Alert!
Want to make your websites faster, smarter, and cleaner? 🌐💡
Check out our latest post 👉 "Top JavaScript Tags Every Web Developer Should Know"

Whether you're just starting out or brushing up your skills, this guide covers the most essential JS tags like <script>, async, defer, and more — with examples and best practices!

💻 Read now: dapirates.xyz/top-javascript-t
📌Save it for later & share with your dev friends!
#JavaScript #WebDevelopment #CodingTips #LearnJS #FrontendDev #DaPirates

DaPirates · Top JavaScript Tags Every Web Developer Should Know (2025) - DaPiratesDiscover the top JavaScript tags every developer should master. Learn how to use , async, defer, and more with real-world examples and best practices.

React-like functional webcomponents, but with vanilla HTML, JS and CSS

Introducing Dim – a new #Framework that brings #ReactJS-like functional #JSX-syntax with #VanillaJS. Check it out here:
🔗 Project: github.com/positive-intentions
🔗 Website: dim.positive-intentions.com

My journey with #WebComponents started with Lit, and while I appreciated its native browser support (less #Tooling!), coming from #ReactJS, the class components felt like a step backward. The #FunctionalProgramming approach in React significantly improved my #DeveloperExperience and debugging flow.

So, I set out to build a thin, functional wrapper around #Lit, and Dim is the result! It's a #ProofOfConcept right now, with "main" #Hooks similar to React, plus some custom ones like useStore for #EncryptionAtRest. (Note: #StateManagement for encryption-at-rest is still unstable and currently uses a hardcoded password while I explore #Passwordless options like #WebAuthn/#Passkeys).

You can dive deeper into the #Documentation and see how it works here:
📚 Dim Docs: positive-intentions.com/docs/c

This #OpenSource project is still in its early stages and very #Unstable, so expect #BreakingChanges. I've already received valuable #Feedback on some functions regarding #Security, and I'm actively investigating those. I'm genuinely open to all feedback as I continue to develop it!

I’m digging into how useEffect behaves in React — and the render queue timing still surprises me sometimes.

It’s wild how something that seems so “after render” can still feel like it sneaks into your logic when you least expect it.

A huge help with that was a blog post on Frontend Masters written by Teng Wei Herr: frontendmasters.com/blog/react

frontendmasters.comReact Internals: Which useEffect runs first? – Frontend Masters BlogIt's not particularly obvious, but a child's useEffect will run before a parent's will. Let's look at why.

We’re currently building a bunch of websites with @craftcms and may need freelance frontend dev support over the coming weeks/months.

Your profile:
- Solid Craft + Twig + Tailwind + A11y knowledge
- Turn Figma designs into responsive frontend code
- Timezone somewhat compatible with London/Berlin

Sample repo from current project: github.com/prototypefund/ptf-s

Reply here or to hello@village.one with your availability, day rate and experience. Thanks! 🙌 #CraftCMS #Tailwind #FrontendDev #FreelanceDev