Fireship · @fireship
I built a JavaScript framework
Uploaded August 16, 2022 · Length 10:11
Summary
Creating a JavaScript framework for building websites, comparing popular frameworks, and building a custom solution for a content-driven site.
- javascript framework
- web development
- static site generators
- spa router
- jam stack
- next.js
- astro
- content management
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
JavaScript is a nearly perfect
- 0:01
programming language the only thing it's
- 0:03
missing is a good framework for building
- 0:05
websites now I've got a body count like
- 0:07
Will Chamberlain when it comes to
- 0:09
JavaScript Frameworks I've tried nearly
- 0:10
all of them and each one does some nice
- 0:12
tricks but none of them are marriage
- 0:13
material they all have their trade-offs
- 0:15
which I'll explain throughout this video
- 0:16
so you can understand what drives a
- 0:18
developer to the point of Madness where
- 0:20
they're left with no choice but to
- 0:21
create their own JavaScript framework
- 0:25
in my case God told me to do it allow me
- 0:28
to introduce you to Holy JS actually
- 0:30
never mind somebody already took that
- 0:32
name on npm let's go ahead and pivot to
- 0:34
the devil and call it flamethrower I
- 0:36
think that really captures the essence
- 0:37
of JavaScript programming now at this
- 0:39
point you may be wondering if I'm joking
- 0:41
the sad reality is no I did actually
- 0:44
create a game-changing platform for
- 0:45
building blazingly fast highly
- 0:47
interactive experiences on the jam stack
- 0:49
I also raised millions of dollars for my
- 0:51
company flamethrower Inc to Hype it up I
- 0:53
stole 99 of my ideas from other tools
- 0:55
but I'm going to tell you that
- 0:56
everything else sucks give it an MIT
- 0:58
license and then call you out if you try
- 1:00
to steal it so one day I might be as
- 1:01
successful as remix alright that part
- 1:03
was a joke about some Twitter drama but
- 1:05
what I really want to teach you in this
- 1:06
video is the trade-offs between all the
- 1:08
different major JavaScript Frameworks
- 1:09
out there here's the normal flowchart I
- 1:11
would go through when choosing a
- 1:12
framework for a new project the first
- 1:14
question to ask is is the project highly
- 1:16
interactive like are you building an app
- 1:18
with user authentication with all kinds
- 1:20
of data that can be manipulated by the
- 1:22
current user if the answer is no it
- 1:24
sounds like you're building a regular
- 1:25
website AI in which case you don't need
- 1:27
a JavaScript framework life will be much
- 1:29
easier with a static site generator like
- 1:31
Hugo or 11t and if you do end up needing
- 1:33
JavaScript you can always drop in
- 1:34
something like Alpine or petite view as
- 1:36
opposed to a heavyweight framework or an
- 1:38
even better option could be Astro which
- 1:40
generates static HTML but allows you to
- 1:42
bring in interactivity from any
- 1:44
framework as needed now if you are
- 1:46
building a highly interactive app the
- 1:47
next question you might ask is does it
- 1:49
need to be search engine friendly or
- 1:51
does it need to render HTML and data on
- 1:53
a server if the answer is no then just
- 1:55
use your favorite framework to build a
- 1:57
single page application if you don't
- 1:59
need to render content in advance for


