Fireship · @fireship
I built a react app… but with a visual editor
Uploaded April 18, 2023 · Length 7:38
Summary
Building a React app with a visual editor, Codex, for drag and drop productivity and simplifying certain tasks.
- react visual editor
- codex wix
- drag and drop productivity
- react app development
- web development tools
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
when I first started to learn web
- 0:01
development I paid $400 for a CD of
- 0:04
Adobe Dreamweaver unlike the text
- 0:05
editors we use today what you see is
- 0:07
what you get wizzy wigs have been around
- 0:09
forever Visual Basic for Windows came
- 0:11
out 30 years ago game developers write
- 0:13
code by dragging and dropping in tools
- 0:15
like unreal and mobile IDs like Android
- 0:17
Studio always keep the UI by your side
- 0:19
but on the web we choose to write most
- 0:20
of our code with a blindfold on I think
- 0:22
this is due to the challenge of
- 0:23
responsive design during the browser
- 0:25
Wars but those days are mostly behind us
- 0:27
in today's video we'll build an image
- 0:29
Carousel inspired by airbnb's website
- 0:31
using a new visual IDE called codex
- 0:33
created by Wix the sponsor of this video
- 0:36
that brings drag and drop productivity
- 0:37
to react apps as a stubborn web
- 0:39
developer myself I was a bit skeptical
- 0:41
to try it but what I found is that it
- 0:42
can dramatically simplify certain jobs
- 0:44
and does so in a non-invasive way one
- 0:47
thing I've always hated about visual
- 0:48
tools is they tend to create code that
- 0:50
you don't understand but that's not the
- 0:51
case with codex it works in tandem with
- 0:53
VSS code while providing a robust visual
- 0:55
layer on top of your code it'll be
- 0:57
easier if I just show you so let's take
- 0:58
a look at what we're building today we
- 1:00
have a collection of cards for various
- 1:01
airbnbs which are made responsive with
- 1:04
CSS grid each card has its own
- 1:06
collection of images which can be
- 1:07
rotated through by clicking this button
- 1:09
nothing too crazy but the way we'll
- 1:10
build this is like nothing you've ever
- 1:12
seen before when it comes to react
- 1:13
development the first step is to
- 1:15
download it from the website and it's
- 1:16
entirely free by the way then create a
- 1:18
new project you have the option to
- 1:20
import an existing project the only
- 1:22
requirement is that it uses typescript
- 1:23
and either CSS module SAS or styleable
- 1:26
for your styling the main thing I don't
- 1:28
like about this editor is that it only
- 1:29
supports react I would love a tool like
- 1:31
this for spelt view angular and so on in
- 1:33
any case I'm going to start from scratch
- 1:35
and go with the built-in V template
- 1:37
after it creates and installs the
- 1:38
dependencies you'll notice it creates a
- 1:40
board a board is just a component itself
- 1:42
that allows you to isolate your own
- 1:44
components very similar to a tool like
- 1:46
storybook if we go ahead and click on a
- 1:48
board that'll bring us into the main
- 1:49
editor down here at the bottom it
- 1:51
contains the code for that board again
- 1:53
it's just a component that in this case
- 1:55
renders the app component there's a lot
- 1:56
to talk about here but first I want to
- 1:58
back up back on the Home tab you'll


