Ir ao contido

Características

We asked respondents about their thoughts on 28 distinct features, from omnipresent hooks such as useState, to more niche APIs like useDeferredValue. Be sure to try and sort by “sentiment”!

This chart recaps all of the survey's feature questions. The main bars represent a respondent's experience; and they are then further subdivided according to that respondent's sentiment. You can change the grouping to alternate between both.

Group by:

Sort by:

1

99%
11,033
2

98.7%
11,063
3

97.5%
12,637
4

93%
5.5%
11,029
5

90.6%
7.9%
11,073
6

86.1%
11.6%
11,033
7

85.4%
11.1%
3.5%
12,766
8

85.3%
11.6%
3.2%
11,090
9

73.4%
20.5%
6.1%
12,584
10

68.3%
19.5%
12.3%
12,632

Experience

  • Used it: Respondents who have used an item.
  • Heard of it: Respondents who have heard about an item, but haven't used it.
  • Never heard of it: Respondents who have never heard about an item.

Sentiment

  • Positive: Respondents who are interested in learning more about a technology; or are willing to use it again.
  • Neutral: Responents who did not indicate any sentiment about a technology.
  • Negative: Respondents who are not interested in learning more about a technology; or have used it and had a negative experience.

Inconvintes das APIs

Cales son os principais inconvintes que te atopaches relacionados coas APIs mencionadas arriba?
(resposta libre)

Among the most common React APIs, forwardRef was by far the one generating the most pain for developers, with memo a close second. Thankfully the React team is in the process of rolling out better alternatives to both.

0%
13%
25%
38%
50%
63%
1

2

3

Context API

Answers matching “Context API” 331
4

5

Excessive complexity

6

7

State management

8

Performance

9

Double rendering

10

11

Outros

Answers matching “Outros” 986
0%
13%
25%
38%
50%
63%
% dos enquisados
We asked members of the React community to share their “pick of the year”

My 2023 Pick: Zustand

Simple, elegant, extensible state management that "just works" (tm). Nowadays, you might not need state management, but if you do, Zustand is a great place to start.
We asked members of the React community to share their “pick of the year”

Jack Herrington

Principal Engineer and YouTuber

Inconvintes dos hooks

Cales son os principais inconvites que te atopaches cos hooks?
(resposta libre)

Unsurpringly, useEffect and useCallback were cited as the most problematice React hooks, in large part due to the management of dependency arrays.

0%
14%
27%
41%
55%
68%
1

2

Dependency Arrays

3

4

5

State management

6

Excessive complexity

7

8

9

Excessive rerendering

10

11

Outros

Answers matching “Outros” 771
0%
14%
27%
41%
55%
68%
% dos enquisados

Inconvintes das novas APIs

Cales son os principais inconvintes que te atopaches relacionados coas novas APIs?
(resposta libre)

While React's ability to keep evolving and stay relevant over time is one of its best assets, it also comes at a cost and new APIs such as Server Components can definitely be tough to adopt.

0%
18%
37%
55%
73%
92%
1

2

Excessive complexity

3

Next.js issues

4

5

form_issues

6

7

8

9

Lack of documentation

10

11

Outros

Answers matching “Outros” 394
0%
18%
37%
55%
73%
92%
% dos enquisados

Lista de lectura

30% of respondents added at least one item to their reading list while taking the survey in order to learn more about them later. Here is a breakdown of their picks.

0%
9%
19%
28%
37%
46%
1

1,777
2

1,720
3

1,591
4

1,387
5

1,381
6

1,279
7

1,256
8

1,238
9

1,231
10

1,098
0%
9%
19%
28%
37%
46%
% dos enquisados
A «Lista de lectura» permite aos enquistados gardar os elementos dos que queren aprender máis mentras completan a enquisa; e logo ter un resumo de recursos útiles ao final da enquisa.

Recursos recomendados

Be Productive with React.js, Today's Most Popular Framework
Brian Holt
SQLite Cloud

Be Productive with React.js, Today's Most Popular Framework

Gain experience building, testing, and maintaining high-performance client and server-side React applications.
A Tour of JavaScript & React Patterns
Lydia Hallie

A Tour of JavaScript & React Patterns

You’ll get an overview of more traditional design patterns with JavaScript, such as the Singleton and Proxy patterns. Then see React patterns such as the Hooks and Higher Order Component patterns.
Grazas aos nosos colaboradores por darnos o seu apoio! Saber máis.