Your Next Tool: Web Components
dev.to·17w·
Discuss: DEV

Introduction

When I start a new project, I always like to try out different styles of creating content. I rarely grab a framework like React or Vue unless I am planning on creating a large-scale application. So when I was creating a website for my Data Structures and Algorithms studies, I wanted to have code blocks of examples next to some text explaining each part. But as I got past arrays, stacks and queues, I started to realise how bloated and repetitive my HTML has become.

If I had continued this way, I would have had about 130 blocks of code to hard-code in, so I looked at different solutions to help generate each block. That is when I came across web components. So today I am going to teach you about web components so that you can add them to your arsenal of web tools.

#…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help