home.social

#vanillajs — Public Fediverse posts

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

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

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

    habr.com/ru/articles/1051896/

    #webdev #javascript #vanillajs

  2. 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

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

  5. 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

  6. 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

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

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

    habr.com/ru/articles/1042520/

    #custom_elements #web_components #custom_elements_collection #vanillajs

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

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

    habr.com/ru/articles/1037430/

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

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

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

    habr.com/ru/articles/1025152/

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

  10. Pourquoi je développe en HTML/CSS/JS sans framework ?
    Autonomie : pas de dépendance à un écosystème qui peut disparaître
    Transparence : clic droit → Inspecter, tout est là
    Légèreté : quelques Ko, offline-first
    Résilience : le code d'aujourd'hui tournera dans 20 ans
    L'esprit maker appliqué au dev : comprendre, maîtriser, transmettre.
    👉 sylvaindenis.ovh/blog/pourquoi
    #WebDev #FabLab #OpenWeb #VanillaJS

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

  16. 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-

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

  18. Je voulais calculer la résolution logique (viewport) à partir de la résolution physique (écran) d'un téléphone.

    Je trouve un gars qui fournit une application web consistant en, tenez vous bien, 3 champs numériques et un bouton.

    Rien de bien compliqué.

    Bah pour ça, le type a utilisé... ReactJs, Typescript, TailwindCSS, Vite et des containers sous ZorinOS !!!!

    MAIS PINAISE DE PINAISE 😡 !!!!

    Pas étonnant que les gens nous jettent des cailloux !

    #dev
    #web
    #VanillaJS
    #VanillaHTML

  19. Je voulais calculer la résolution logique (viewport) à partir de la résolution physique (écran) d'un téléphone.

    Je trouve un gars qui fournit une application web consistant en, tenez vous bien, 3 champs numériques et un bouton.

    Rien de bien compliqué.

    Bah pour ça, le type a utilisé... ReactJs, Typescript, TailwindCSS, Vite et des containers sous ZorinOS !!!!

    MAIS PINAISE DE PINAISE 😡 !!!!

    Pas étonnant que les gens nous jettent des cailloux !

    #dev
    #web
    #VanillaJS
    #VanillaHTML

  20. 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

  21. 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

  22. 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

  23. 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

  24. @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)
    })

  25. @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)
    })

  26. 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

  27. 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

  28. 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/

  29. 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/

  30. 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

  31. 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