<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/vanillajs-you-might-not-need-a-library-hyq1t29os" -->

---
title: VanillaJS: You Might Not Need A Library | daily.dev
description: Learn about Vanilla JavaScript, the basics of DOM selection, converting a NodeList to an array, using fetch to get information from the internet, defining a...
canonical: https://daily.dev/posts/vanillajs-you-might-not-need-a-library-hyq1t29os
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: VanillaJS: You Might Not Need A Library | daily.dev
og:description: Learn about Vanilla JavaScript, the basics of DOM selection, converting a NodeList to an array, using fetch to get information from the internet, defining a...
og:url: https://daily.dev/posts/vanillajs-you-might-not-need-a-library-hyq1t29os
og:image: https://api.daily.dev/og/posts/HYQ1T29OS.png
og:image:alt: VanillaJS: You Might Not Need A Library
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# VanillaJS: You Might Not Need A Library

**[AWS Tip](https://daily.dev/sources/awstip)** · 5 min read · 108 upvotes · 7 comments

## Summary

Learn about Vanilla JavaScript, the basics of DOM selection, converting a NodeList to an array, using fetch to get information from the internet, defining a router in JavaScript, working with Shadow DOM, HTML templates, and template literals, and using proxies for reactive programming.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://awstip.com/vanillajs-you-might-not-need-a-library-40f3990e2241>

## Community discussion

Top comments from developers on daily.dev.

**@orcdev** · 6 upvotes

> Thanks for this one. Many people come and start learning about React, Next.js etc Without ever writing some simple JavaScript code.
>
> Learning path should be something like this for Frontend:
> JavaScript -> TypeScript -> React
>
> Backend:
> JavaScript -> TypeScript -> Node.js

**@kyoukhana** · 2 upvotes

> All these frameworks are overloaded with dependencies.  I like this article because its a very simple approach.  Look at ASTRO.  Yea its cool but look at the dependencies it uses its nuts.

**@perseon** · 1 upvotes

> with emphasis on *might* .  Lack of experience and vanilla js is guaranteed to blow in your face.

**@endallframeworks** · 0 upvotes

> A good JS library enhances native functionality, saves you from common pitfalls, and doesn't tie you up with a mess of other dependencies. Good libraries are better for most people most of the time.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#javascript](https://daily.dev/tags/javascript), [#frontend](https://daily.dev/tags/frontend), [#dom](https://daily.dev/tags/dom)

[View this post on daily.dev](https://daily.dev/posts/vanillajs-you-might-not-need-a-library-hyq1t29os)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"VanillaJS: You Might Not Need A Library","url":"https://daily.dev/posts/vanillajs-you-might-not-need-a-library-hyq1t29os","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/vanillajs-you-might-not-need-a-library-hyq1t29os"},"datePublished":"2024-03-12T18:07:34.940Z","dateModified":"2024-05-09T08:39:06.345Z","description":"Learn about Vanilla JavaScript, the basics of DOM selection, converting a NodeList to an array, using fetch to get information from the internet, defining a...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3ee0b4a243f4709c3c317f2ccafd379e?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3ee0b4a243f4709c3c317f2ccafd379e?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"AWS Tip","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"AWS Tip","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aea5725665d4494d8470f6c11612e774","url":"https://daily.dev/sources/awstip"},"commentCount":7,"discussionUrl":"https://daily.dev/posts/vanillajs-you-might-not-need-a-library-hyq1t29os","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":108},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":7}],"keywords":"webdev,javascript,frontend,dom","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AWS Tip","item":"https://daily.dev/sources/awstip"},{"@type":"ListItem","position":3,"name":"VanillaJS: You Might Not Need A Library"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/vanillajs-you-might-not-need-a-library-hyq1t29os","comment":[{"@type":"Comment","text":"Thanks for this one. Many people come and start learning about React, Next.js etc Without ever writing some simple JavaScript code.\nLearning path should be something like this for Frontend:\nJavaScript -&gt; TypeScript -&gt; React\nBackend:\nJavaScript -&gt; TypeScript -&gt; Node.js","datePublished":"2024-03-13T11:44:50.401Z","url":"https://daily.dev/posts/HYQ1T29OS#c-66RiofqW1","author":{"@type":"Person","name":"OrcDev","url":"https://daily.dev/orcdev","image":"https://avatars.githubusercontent.com/u/7549148?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":6}},{"@type":"Comment","text":"All these frameworks are overloaded with dependencies.  I like this article because its a very simple approach.  Look at ASTRO.  Yea its cool but look at the dependencies it uses its nuts.","datePublished":"2024-03-13T13:43:00.589Z","url":"https://daily.dev/posts/HYQ1T29OS#c-AWSFTeDpB","author":{"@type":"Person","name":"Kevin","url":"https://daily.dev/kyoukhana","image":"https://avatars2.githubusercontent.com/u/756849?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"with emphasis on might .  Lack of experience and vanilla js is guaranteed to blow in your face.","datePublished":"2024-03-13T12:39:04.018Z","url":"https://daily.dev/posts/HYQ1T29OS#c-WJHRjs4r6","author":{"@type":"Person","name":"Ovidiu Manta","url":"https://daily.dev/perseon"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"A good JS library enhances native functionality, saves you from common pitfalls, and doesn’t tie you up with a mess of other dependencies. Good libraries are better for most people most of the time.","datePublished":"2024-03-14T00:13:58.471Z","dateModified":"2024-03-14T00:26:41.237Z","url":"https://daily.dev/posts/HYQ1T29OS#c-0cJ3WSXv8","author":{"@type":"Person","name":"end all frameworks","url":"https://daily.dev/endallframeworks","image":"https://lh3.googleusercontent.com/a/AEdFTp55st6FFoRy1GBNu7b69FjoDvjMEGYOymou52JWbA=s96-c"}}]}
```

