home.social

#vanillajs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #vanillajs, aggregated by home.social.

fetched live
  1. Maaya सबसे बड़ा आकर्षण! 🌀

    Based on Katha Upanishad, MOKSHA is a framework-less web game built from scratch using pure Vanilla JS & HTML5 Canvas. In this update, I coded the "Maya Tufaan" mechanics—a customized vector-force system that pulls your player based on real-time Karma calculations.

    Pool-based particle setup.

    🎮 Play: weirdcodes.itch.io/moksha

    💻 Code: github.com/weirdcodesofficial

    #weirdcodes #Moksha #Gamedev #IndieDev #VanillaJS #HTML5Canvas #WebDev #OpenSource #CreativeCoding #JavaScript

  2. Электрика без Excel: считаем щиток, кабели и смету прямо в браузере — один файл, ноль зависимостей

    Каждый раз когда я помогаю кому-то с электрикой, происходит одно и то же. Человек спрашивает «какой кабель на розетки?». Я говорю «2.5 мм²». Он спрашивает «а автомат?». Я говорю «C16». Потом: «а сколько метров нужно?», «а УЗО куда?», «а сколько это будет стоить?». И вот уже час объяснений, Excel непонятного происхождения и ощущение что что-то всё равно забыли. Я решил сделать инструмент который отвечает на всё сразу. Добавил комнаты, указал приборы и расстояние до щитка - нажал кнопку - получил группы, кабели, автоматы, схему щитка и смету. Без регистрации, без интернета, без установки. Получился один HTML-файл на ~1400 строк ванильного JS. darkenamber.github.io/electrok

    habr.com/ru/articles/1051896/

    #webdev #javascript #vanillajs

  3. React-like syntax with WebComponents.

    ​After spending some time with Lit, I really appreciated its lightweight footprint but wasn't a fan of the class-based components. While Vue offers a great approach, I still prefer the intuitive nature of React's syntax for debugging and deterministic rendering. This led me to a challenge: could I build a UI framework using WebComponents that completely eliminates the need for transpilation?

    ​I have written a breakdown of the concept, the architecture, and where I want to take it. I highly invite you to take a look, check out the code, and explore the live demo.

    * How it works: positive-intentions.com/docs/p
    * Checkout the code: github.com/positive-intentions
    * Storybook demo: dim.positive-intentions.com

    ​Please note, while the project is open-source, this is a personal exploration rather than an attempt to launch "yet another framework." It is not production-ready and is built for my own upcoming project migrations, but I am sharing it in hopes that the methodology is educational or interesting to the community.

    ​I would love to hear your thoughts on this approach. Feel free to reach out if you have any questions or want to discuss the implementation details.

    ​#WebDev #WebDevelopment #Frontend #FrontendDev #JavaScript #JS #TypeScript #TS #HTML #HTML5 #CSS #SoftwareEngineering #SoftwareEngineer #Coding #Programming #WebDesign #OpenSourceProject #IndieDev #SideProject #Tech #Technology #DevCommunity #Fediverse #FediverseDevs #WebStandards #CustomElements #ShadowDOM #VanillaJS #NoTranspiler #NoBuild #BuildStep #EsModules #ComponentDriven #UIUX #DesignSystems #TechExperiment #LearningInPublic #Developer #ComputerScience #OSS #Github #React #WebComponents #Lit #Vue #ReactJS #JSX #Storybook #TechArticle #TechBlog #TechWriting #WebDevArticles

  4. Custom Elements Collection: 147 компонентов двумя строками через CDN

    Как создавать веб-страницы без фреймворков, сборщиков и другого зоопарка. Технология Custom Elements появилась в браузерах в 2018-2020 годах, но долгое время незаслуженно обходилась стороной сообществом, в связи со сложностью разработки компонентов. Однако ничто не мешает использовать уже созданные компоненты с любым фреймворком. Об этом и пойдёт речь.

    habr.com/ru/articles/1042520/

    #custom_elements #web_components #custom_elements_collection #vanillajs

  5. 12 паттернов, которые приведут твой код в порядок

    ES6 ввел синтаксис деструктурирующего присваивания — лаконичный способ распаковки значений из массивов и объектов в отдельные переменные. Это одна из тех фич, начав использовать которые, ты удивишься, как раньше без нее жил.

    habr.com/ru/articles/1037430/

    #javascript #typescript #react #vue #angular #программирование #nodejs #svelte #vanillajs

  6. 108 окон, 0 фреймворков, 1 Kubernetes: как команда без разработчиков построила интерактивный дом-таймлайн про ТВ 90-х

    Зов джунглей, Поле чудес, Ералаш — мы сделали интерактивный дом-таймлайн про телевидение 90-х и 00-х. Под катом: как команда без разработчиков дошла от JSON-файла на VPS за $5 до корпоративного Kubernetes. Читать, пока не началась реклама

    habr.com/ru/articles/1025152/

    #vanillajs #frontend #cms #kubernetes #canvas #webp #avif #parallax #вайбкодинг #телевидение

  7. React-Like JSX Syntax for Webcomponents

    TLDR: I’ve been #experimenting with react-like jsx-syntax with webcomponents to see if I could theoretically replace #React in one of my larger #software projects. It is not ready for production use, but rather a #Research exploration into #CustomElements and #ModernJS performance.

    The goal was to build #FunctionalWebComponents that handle #StateManagement and #DOM updates without the overhead of a massive #JavaScript framework. By leveraging #StandardWebAPIs and #Proxy objects, I’ve managed to create a #Reactive programming model that feels familiar but stays closer to the #Platform.

    Check out the full #TechnicalTutorial and #DeepDive here: positive-intentions.com/docs/r

    (Disclosure: this project may be getting deprecated. Sharing this because it might still be interesting or educational.)

    #WebDevelopment #Frontend #BuildTheWeb #NoFramework #JS #JSX #WebStandards #Coding #ResearchAndDevelopment #VanillaJS #SoftwareEngineering #TechBlog #WebDevCommunity

  8. Czasem warto wrócić do korzeni. Takim ruchem może być świadoma rezygnacja z frameworków frontendowych i powrót do czystego #JavaScript (tzw. #VanillaJS). Jakie są tego zalety - o tym opowiada ten artykuł (i mimo wszystko mało jest o wadach).

    #programowanie #WebDev

    thenewstack.io/why-developers-

  9. r6d6: Heute haben wir ein weiteres Repo nach #codeberg migriert:

    web-components

    Eine kleine Sammlung von offenen WebComponents, die beinahe in allen wichtigen Frameworks wie #vuejs, #angular oder #react oder einfach auch in plain #VanillaJS laufen sollten.

    Darunter auch ein kleines

    codeberg-ribbon "View on Codeberg".

    y.lab.nrw/cb-rib

    \__
    @Codeberg #OpenSource #giveUpGitHub #diday #didit #100DaysOfCode #jek25 #39c3

  10. Trong 24 ngày hackathon, tác giả ra mắt framework Vanilla JS “Funky” với 806.893 dòng code, 74 component, 35 module và hơn 8.800 test, nhờ Claude AI. Không cần React, Webpack, npm—chỉ edit‑file‑refresh. Ví dụ: Funky.Toast.show('Hello world'). #tech #javascript #hackathon #framework #vanillajs #dev #lập_trình

    dev.to/lnation/funky-806893-li

  11. IVVV Stack: kiến trúc front‑end chỉ dùng IndexedDB, Vanilla JS, HTML & CSS. Được minh hoạ bằng một ứng dụng ghi chú đơn giản, cho thấy dù khó khăn với dev hiện đại, việc dùng vanilla vẫn khả thi nếu kết hợp AI để nhanh chóng tạo prototype. #IVVV #Frontend #VanillaJS #IndexedDB #Tech #CôngNghệ #LậpTrình #WebDev

    dev.to/stakiran/ivvv-stack-3pjp

  12. @ericwastl

    Grateful to the #VanillaJS team for enabling my super-minimalist #CMS.

    This is the idea:
    monastic.neocities.org/

    window.addEventListener("load", async (event) => {
    const params = new URLSearchParams(document.location.search)
    const filepath = params.get("c") ?? "index.md"
    const filefetch = await fetch(filepath, {method: "GET", cache: "no-store"})
    const markdown = await filefetch.text()
    document.getElementById("content").innerHTML = marked.parse(markdown)
    })

  13. I just checked the stats for #BullsAndCows and I can’t stop smiling 😄

    The game has been played by 1,092 people across 177 cities around the world 🌍

    And guess what? I hadn’t even used hashtags until today — all direct visitors!

    You’re all amazing, seriously. 💛

    Next step: turning it into an app.
    #IndieDev #BullsAndCows #VanillaJS #GameDev

    👉 bulls.yosola.co

  14. October is more a Halloween month, less a "snow & snowflakes" time but that did not keep me from writing a #VanillaJS snowflake generator for #WeirdWebOctober artlung.com/wwo/29/

  15. Das Wandern ist des Schweizers Lust: "Mont" ist eine #AugmentedReality-#Webapp, die Schweizer Berggipfel und Hügelkuppen benennt und auf dem Handybildschirm anzeigt (iOS only).

    thomasweibel.ch/mont2/

    Endlich ist nun auch mein Paper über die verwendete Technik erschienen:

    phaidra.fhstp.ac.at/detail/o:7

    Für alle, die hoch hinaus wollen - mit #VanillaJS oder in Wanderschuhen.

    #html5 #ar #geoinformatics #geography #topography #ios #opendata #geodata #swisstopo #switzerland @OpendataCH

  16. OAuth in VanillaJS: Mind your encodings

    blog.narf.ssji.net/2025/07/30/

    I wrote an implementation of the OAuth Authorisation Grant flow in VanillaJS. It worked pretty well except for some mismatch in String encodings. tl;dr: use `String.fromCharCode` over `TextDecoder` if you want to use `atob`. Or wait for `Uint8Array.toBase64`.

    #JavaScript #OAuth #VanillaJS

  17. 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!

    #FrontendDev #JSFramework #Innovation #Coding #Programmer #Tech

  18. Does anyone have good reading on how major frameworks make their SPA url router? I'm not talking about a hash router, I'd like to see how (with the server configured properly) the JS handles all the things (history pop state changes, link clicks, etc)

    #javascript #vanillajs #webcomponents