Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

React 18: Upcoming Features, Gradual Adoption, and Working Group, Summaries of Compilers

The react team shares updates on the development of react 18, including new features like automatic batching, starttransition, and a new streaming server renderer. They also discuss the gradual adoption strategy for the release, which includes a working group to prepare the ecosystem for the transition.

Typology: Summaries

2013/2014

Uploaded on 08/11/2021

first-last-26
first-last-26 🇮🇳

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
T
he
P
la
n
f
or
R
eac
t
18
J
un
e
08,
2021
b
y
A
n
d
r
e
w
C
la
r
k
,
B
r
ia
n
V
a
u
gh
n
,
C
h
r
i
st
i
n
e
A
be
rn
a
t
h
y
,
D
a
n
A
b
r
a
mov
,
R
achel
N
ab
ors
,
R
ick
H
a
n
l
on
,
S
eba
st
ia
n
M
a
r
kbåge
,
a
n
d
S
e
t
h
W
eb
st
e
r
T
he
R
eac
t
t
ea
m
i
s
e
x
ci
t
ed
to
s
ha
r
e
a
fe
w
up
da
t
e
s
:
.
W
e
ʼ
v
e
st
a
rt
ed
wor
k
on
t
he
R
eac
t
18
r
elea
s
e
,
w
hich
w
ill
be
our
n
e
xt
m
aj
or
v
e
rs
i
on
.
.
W
e
ʼ
v
e
c
r
ea
t
ed
a
W
or
ki
n
g
G
roup
to
pr
e
p
a
r
e
t
he
c
ommun
i
ty
f
or
g
r
ad
u
al
ad
opt
i
on
o
f
n
e
w
fea
tur
e
s
i
n
R
eac
t
18.
.
W
e
ʼ
v
e
pu
bli
s
hed
a
R
eac
t
18
A
l
p
ha
so
t
ha
t
lib
r
a
ry
a
ut
h
ors
ca
n
try
i
t
a
n
d
prov
ide
feedback
.
T
he
s
e
up
da
t
e
s
a
r
e
pr
i
m
a
r
il
y
ai
m
ed
a
t
m
ai
nt
ai
n
e
rs
o
f
t
hi
r
d
-
p
a
rty
lib
r
a
r
ie
s
.
I
f
you
ʼ
r
e
lea
rn
i
n
g
,
t
eachi
n
g
,
or
us
i
n
g
R
eac
t
to
b
u
ild
us
e
r
-
faci
n
g
a
pp
lica
t
i
ons
,
you
ca
n
s
afel
y
ig
nor
e
t
hi
s
post
.
B
ut
you
a
r
e
w
elc
om
e
to
f
o
ll
ow
t
he
di
s
c
uss
i
ons
i
n
t
he
R
eac
t
18
W
or
ki
n
g
G
roup
if
you
ʼ
r
e
c
ur
i
ous
!
W
ha
t
ʼ
s
c
om
i
n
g
i
n
R
eac
t
18
W
he
n
i
t
ʼ
s
r
elea
s
ed
,
R
eac
t
18
w
ill
i
n
cl
u
de
out
-
o
f
-
t
he
-
b
ox
i
mprov
e
m
e
nts
(
like
a
utom
a
t
ic
ba
t
chi
n
g
),
n
e
w
API
s
(
like
startTransition
),
a
n
d
a
n
e
w
str
ea
m
i
n
g
s
e
rv
e
r
r
e
n
de
r
e
r
w
i
t
h
b
u
il
t
-
i
n
support
f
or
React.lazy
.
T
he
s
e
fea
tur
e
s
a
r
e
poss
ible
t
ha
n
k
s
to
a
n
e
w
opt
-
i
n
m
echa
n
i
sm
w
e
ʼ
r
e
addi
n
g
i
n
R
eac
t
18.
I
t
ʼ
s
called
c
on
c
urr
e
nt
r
e
n
de
r
i
n
g
a
n
d
i
t
le
ts
R
eac
t
pr
e
p
a
r
e
mu
l
t
i
p
le
v
e
rs
i
ons
o
f
t
he
U
I
a
t
t
he
s
a
m
e
t
i
m
e
.
T
hi
s
cha
n
ge
i
s
most
l
y
behi
n
d
-
t
he
-
s
ce
n
e
s
,
b
ut
i
t
un
l
o
ck
s
n
e
w
poss
ibili
t
ie
s
to
i
mprov
e
b
ot
h
r
eal
a
n
d
p
e
r
cei
v
ed
p
e
r
f
orm
a
n
ce
o
f
your
a
pp
.
I
f
you
ʼ
v
e
bee
n
f
o
ll
ow
i
n
g
our
r
e
s
ea
r
ch
i
nto
t
he
f
utur
e
o
f
R
eac
t
(
w
e
d
on
ʼ
t
e
xp
ec
t
you
to
!),
you
m
igh
t
ha
v
e
hea
r
d
o
f
som
e
t
hi
n
g
called
c
on
c
urr
e
nt
mo
de
or
t
ha
t
i
t
m
igh
t
b
r
eak
your
a
pp
.
I
n
r
e
spons
e
to
t
hi
s
feedback
f
rom
t
he
c
ommun
i
ty
,
w
e
ʼ
v
e
r
ede
s
ig
n
ed
t
he
up
g
r
ade
str
a
t
eg
y
f
or
g
r
ad
u
al
ad
opt
i
on
.
I
nst
ead
o
f
a
n
all
-
or
-
not
hi
n
g
mo
de
,
c
on
c
urr
e
nt
r
e
n
de
r
i
n
g
w
ill
on
l
y
be
e
n
abled
f
or
up
da
t
e
s
tr
igge
r
ed
b
y
on
e
o
f
t
he
n
e
w
fea
tur
e
s
.
I
n
pr
ac
t
ice
,
t
hi
s
m
ea
ns
you
w
ill
be
pf3
pf4

Partial preview of the text

Download React 18: Upcoming Features, Gradual Adoption, and Working Group and more Summaries Compilers in PDF only on Docsity!

The Plan for React 18

June 08, 2021 by Andrew Clark, Brian Vaughn, Christine Abernathy, Dan Abramov, Rachel Nabors, Rick Hanlon, Sebastian Markbåge, and Seth Webster

The React team is excited to share a few updates:

. Weʼve started work on the React 18 release, which will be our next major version. . Weʼve created a Working Group to prepare the community for gradual adoption of new features in React 18. . Weʼve published a React 18 Alpha so that library authors can try it and provide feedback. These updates are primarily aimed at maintainers of third-party libraries. If youʼre learning, teaching, or using React to build user-facing applications, you can safely ignore this post. But you are welcome to follow the discussions in the React 18 Working Group if youʼre curious! Whatʼs coming in React 18 When itʼs released, React 18 will include out-of-the-box improvements (like automatic batching), new APIs (like startTransition ), and a new streaming server renderer with built-in support for React.lazy. These features are possible thanks to a new opt-in mechanism weʼre adding in React 18. Itʼs called “concurrent rendering” and it lets React prepare multiple versions of the UI at the same time. This change is mostly behind-the-scenes, but it unlocks new possibilities to improve both real and perceived performance of your app. If youʼve been following our research into the future of React (we donʼt expect you to!), you might have heard of something called “concurrent mode” or that it might break your app. In response to this feedback from the community, weʼve redesigned the upgrade strategy for gradual adoption. Instead of an all-or-nothing “mode”, concurrent rendering will only be enabled for updates triggered by one of the new features. In practice, this means you will be

able to adopt React 18 without rewrites and try the new features at your own pace. A gradual adoption strategy Since concurrency in React 18 is opt-in, there are no significant out-of-the-box breaking changes to component behavior. You can upgrade to React 18 with minimal or no changes to your application code, with a level of effort comparable to a typical major React release. Based on our experience converting several apps to React 18, we expect that many users will be able to upgrade within a single afternoon. We successfully shipped concurrent features to tens of thousands of components at Facebook, and in our experience, weʼve found that most React components “just work” without additional changes. Weʼre committed to making sure this is a smooth upgrade for the entire community, so today weʼre announcing the React 18 Working Group. Working with the community Weʼre trying something new for this release: Weʼve invited a panel of experts, developers, library authors, and educators from across the React community to participate in our React 18 Working Group to provide feedback, ask questions, and collaborate on the release. We couldnʼt invite everyone we wanted to this initial, small group, but if this experiment works out, we hope there will be more in the future! The goal of the React 18 Working Group is to prepare the ecosystem for a smooth, gradual adoption of React 18 by existing applications and libraries. The Working Group is hosted on GitHub Discussions and is available for the public to read. Members of the working group can leave feedback, ask questions, and share ideas. The core team will also use the discussions repo to share our research findings. As the stable release gets closer, any important information will also be posted on this blog. For more information on upgrading to React 18, or additional resources about the release, see the React 18 announcement post.

Is this page useful? Edit this page