►
From YouTube: Exploring issues with "Live Preview" feature
Description
In this session we explore the critical usability issues with the "Live Preview" feature and discuss feasible improvements.
A
All
right
so
david
and
I
are
going
to
take
a
look
at
our
live
preview
feature
and
see
how
well
behaved
it
is
so
I
created
this
project
or
I
updated
it
yesterday
to
match
the
code
sandbox
template
when
you
start
a
react
project,
they
have
an
initial
template
that
works
nicely
out
of
the
box
and
everything
code.
Sandbox
is
what
powers
our
live
preview
feature
in
the
web
id.
A
I
had
to
make
a
few
changes
to
the
project,
because
when
I
tried
to
run
it,
it
wasn't
picking
up
on
jsx
files
correctly.
It
wasn't
transpiling
those
so
already
from
the
code.
Sandbox
template
that,
let
me
just
open
up
code
sandbox
and
let's
see,
if
we
can,
how
do
we
start
a
thing
start
coding
for
free?
Oh
man,
I
didn't
know
you
could
code
for
free
david.
A
This
is
all
nice.
I'm
using.
These
are
jsx
files,
because
you
see
we're
doing
the
that
jsx
syntax
here,
and
so,
when
I
cloned
this
into
git
lab
and
open
the
web
id,
this
didn't
work.
The
jsx
files
didn't
work
and
I
had
to
tweak
them
already
so
after
tweaking
them
hoping
that
this
will
work,
let's
see
if
it
works.
A
B
B
A
Yeah,
so
this
so
the
way
this
works
is
this
frame
has
to
be
on
a
different
domain,
because
we
don't
want
the
iframe
to
be
accessing
cookies
and
special
information
from
here,
so
the
iframe
assets
are
hosted
in
this
static
site.
A
A
That's
great
so
yeah
now
once
it
started,
it's
it's
pretty
good.
I
work.
A
A
Great
all
right,
and
so
that's
a
nice
when
this
actually
loads-
that's
great
yep,
but
there's
many
a
times
when
it
just
doesn't
load
and
that's
one
of
the
most
frustrating
things
about
it.
A
I
think
there's
also
you
can
create,
so
let's
also
try
something
else
out.
So
if
I
go
while
this
is
loading,
let
me
go
to
create
from
a
template,
I'll,
create
a
new
project,
and
I'm
going
to
create
a
plain
html
project
will
use
this
as
a
template.
B
A
A
So
sometimes
it
decides
to
work.
Sometimes
it
doesn't.
Okay,
it
doesn't
that's
really
frustrating
okay,
so
we
ordered
our
html
thing,
and
so,
if
I'm
familiar
with
the
live
preview
feature,
I
may
feel
like.
Oh,
I
can
just
get
started,
but
this
tab
actually
isn't
show
up.
Yeah.
A
A
A
A
Okay,
so
maybe
he
wants
it
to
be
a
little
bit
more
valid.
Let
me
go
ahead
and
commit
this,
because
I'll
need
to
redo
it
or
whatever,
let's
check
on
over
here,
oh
there,
we
go
all
right
that
one's
ready,
all
right.
A
Okay
cool,
so
it
does
need
this
name
and
version.
I
guess,
and
so
now
this
is
working
and
that's
that's
nice.
Let's
see,
if
can
I
get.
A
Do
these
work,
let's
see,
let's
find
out,
so
that
should
change
everything
to
red.
A
Yeah,
so
one
of
the
critical
issues
with
this
is
it
can't
respect
relative
paths,
because
this
is
written
to
an
iframe
hosted
on
a
separate
source.
So
it's
trying
to
find
stuff
on
a
separate
source
and
it's
not
actually
reading
things
through
the
file
resolver.
When
you're
doing
this
html
way.
B
A
So
those
are
the
main
ways
I
see
the
live
preview
being
used.
You
have
the
static
html
version,
and
then
you
have
where
you're
actually
doing
like
a
react.
App
packet
json
has
to
be
very
specific
when
I
say
specific,
it's
looking
for
these
specific
keywords
which
you
may
not
actually
want
in
your
package,
json
to
say
that
this
is
the
main,
because
sometimes
this
is
actually
the
source
and
the
main
is
going
to
be
the
compiled
file
which
we
won't
actually
have
in
a
real
project
so
like.
A
If
I
was
doing
tsx,
I
would
say
my
source
is
going
to
be
source
index.tsx.
My
main
would
be
lib
index
js
or
something
like
that.
But
it
is
you
know
when
this
thing
does
work.
It
is
cool
to
kind
of
play
around
with
and
get
the
instant
feedback,
but
already
from
react
like
I
had
to
add,
I
had
to
add
some
lines
to
make
it
behave.
B
A
A
B
Probably
doing,
let's
just
replace
that
button
with
a
link
out
to
code
sandbox
and
just
respect
that
as
opposed
to
bundling
all
of
this
extra
overhead,
because
the
first
thing
I
would
do
if
I
wrote
that
that
background
read
and
it
didn't
change,
I'd
click
on
the
open
and
sandbox
to
see
what's
going
on
and
then,
as
soon
as
I
saw
the
tool
working
in
the
way
it's
supposed
to
work.
Why
would
why
would
you
navigate
back
into
this
view?
You
just.
A
B
A
A
B
A
Yeah
yeah,
I
I
think
so
that's
a
that's
cool
idiom,
so
this
is
like
this
is
working
already
way
more
favorable
than
it
was
working
for
me
yesterday,
but
you've
already
seen
like
it's
it's
hard
to
tell
if
it's
working
and
I
can
attest
to
there's.
Sometimes
it's
just
does
not
load,
and
it
is
not
a
favorable
experience.
So
well,
thanks
thanks
for
watching
us
bash
gitlab.com's
live
preview.