►
A
Hi
everybody-
this
is
xavier
from
the
digital
experience
team
and
I'm
going
to
be
walking
you
through
the
interaction
between
launch
darkly
and
our
new
buyer's
experience
repository.
The
audience
of
this
would
be
basically
anyone
who
wants
to
know
about
how
launch
darkly
was
set
up
in
this
new
repository
or
nathan,
in
particular,
who's
been
out
for
a
week
and
wants
to
know
what
happened.
A
So
you
share
my
screen
right
now
and
I'm
just
gonna
pull
up
my
notes
to
the
side
so
essentially
under
the
hood
in
the
www
repository,
we
had
this
run
experiments.js
file
that
was
controlling
our
interactions
with
launch
darkly.
A
I
linked
this
here
because
I
thought
this
was
the
way
that
we
were
doing
it
before,
and
so
then,
essentially,
I
tried
to
make
an
mr
as
an
mvc
to
try
to
just
bring
this
file
over
to
our
new
var
experience
repository
and
see.
If
that
would
work.
I
was
running
into
a
lot
of
roadblocks
here
and
so
decided
that
this
actually
isn't
that
much
of
a
viable
solution
and
thought
that,
well,
we
have
a
static
site
generator,
that's
based
in
vue.
A
It
lets
us
interact
directly
with
javascript,
and
so
I
figured
this
would
be
a
good
candidate
for
using
their
sdk
directly.
They
have
support
for
typescript,
which
was
neat
and
awesome,
and
so
then
I
decided
we'd
go
with
that,
and
so
this
is
the
mr
that
recently
got
merged
lauren.
Thank
you
for
merging
that
in
and
essentially
we
have
a
couple
things
going
on
and
I'm
moving
to
the
right
over
here.
So
essentially,
one
is
the
initialization
of
the
launch
darkly
client,
which
is
happening
here.
A
Two
we
have
this
function.
It's
essentially
like
a
helper
function
that
returns
a
boolean
based
on
the
return
value
of
the
feature
flag.
So
if
a
feature
flag
is
evaluated
at
true,
then
this
will
return
true
and
if
the
feature
flag
is
evaluated
to
false
it'll
do
that
next
we
created
a
launch
darkly
view
component
that
controls
whether
an
experiment
is
running
or
not.
So
essentially
this
will
be
wrapped
around
slots,
and
so
then,
in
this
in
slot,
one
you
would
put
whatever
is
the
experiment
is
and
then
slot
two
you
would
have
the
control.
A
So
if
the
feature
flag
is
running,
then
we
want
to
show
the
experiment
otherwise
show
the
control,
and
so
then
right
now
I'm
going
to
walk
you
through
the
process
of
trying
to
add
this
into
an
actual
page,
and
so
then
I
wrote
some
docs
on
how
to
do
this,
but
I'm
just
going
to
run
through
it
here
in
real
time.
So
right
now,
let
me
see.
Let
me
bring
this
down
a
little
bit
so
right
here.
I'm
gonna
check
what
branch
I'm
in
I'm
on
main,
so
I'm
gonna
do
git
checkout
b.
A
Let's
do
test,
add
to
demo
add
ld
to
demo,
I'm
just
trying
to
come
up
with
a
descriptive
name.
Okay!
So
now
I'm
on
on
that.
So
what
I'm
going
to
do
over
here
is
just
copy
this.
Over
and
oh,
I
don't
know
what
happened
there.
A
I've
been
messing
around
with
with
vim
controls
and
I'm
still
not
that
great
at
it.
So
just
bear
with
me
on
that
nathan
knows
what
I'm
talking
about.
So
I'm
gonna
do
that
now.
I'm
just
gonna
copy
this
over
here.
So
now
your
experiment-
let's
see,
let
me
go
actually
to
that
page.
So
if
I
do
yarn
dev
over
here,
if
I
go
over
to
that
page,
I
think
it
would
probably
be
interesting
to
do
this.
So
I'm
gonna
do
this
right
here.
A
A
Slash
demo
see
what
this
is
actually
is,
okay,
so
this
is
what
this
looks
like,
and
so
we
have.
Let's
see
we
have
feature
flag,
so
we
have
probably
should
have
done
this
with
the
page
that
I'm
more
familiar
with,
but
it's
more
fun
this
way,
so
we're
doing
it
this
way,
all
right.
So
now
we
have
this
and
I'm
going
to
put
this
in
control.
A
A
A
A
Launch
darkly,
oh
it's
here.
I
just
didn't:
choose
the
right
page
for
me
to
do
this
on,
which
is
awesome,
but
I
think
you
get
the
idea
so
then,
if
I
I'm
just
going
to
keep
recording
because
when
I
think
it
gets
more
fun
when
we
send
these
like
kind
of
rougher
looking
things
I
probably
should
have,
you
know
in
retrospect
picked
a
better
page
but
yeah
this
will.
This
will
work,
and
I
believe
this
is
being
weird,
because
what
I
yeah,
what
I
should
have
done
here
is
instead
of
doing
this.
A
A
A
A
A
A
Now
this
function
right
here
is
exposed
via
the
prototype
of
the
view
instance,
and
this
means
that
any
function
can
call
on
that
launch
starkly
function,
so
we
only
want
it
so
that
launch
darklyw
component
is
the
only
one
that
has
access
to
that,
so
that
that's
the
only
way
that
we
can
run
experiments
and
there's
this
one
adjustment
that
we
want
to
make
so
that,
when
you're
passing
a
query
string
to
this
so
like
say
demo
like
control
equals
true
or
something
I
don't
remember
what
exactly
it
is
but
being
able
to
pass
something
like
that.
A
That
lets
us
see
for
c
like
the
control
or
the
experiment.
So
that's
all
for
me.
Thank
you.
So
much
for
watching.