You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blog/2013-10-16-react-v0.5.0.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ It's been awesome to see the things that people are building with React, and we
34
34
* Added `React.version`.
35
35
* Added `React.isValidClass` - Used to determine if a value is a valid component constructor.
36
36
* Removed `React.autoBind` - This was deprecated in v0.4 and now properly removed.
37
-
* Renamed `React.unmountAndReleaseReactRootNode` to `React.unmountComponentAtNode`.
37
+
* Renamed `React.unmountAndReleaseReactRootNode` to `React.unmountComponentAtNode`.
38
38
* Began laying down work for refined performance analysis.
39
39
* Better support for server-side rendering - [react-page](https://github.com/facebook/react-page) has helped improve the stability for server-side rendering.
40
40
* Made it possible to use React in environments enforcing a strict [Content Security Policy](https://developer.mozilla.org/en-US/docs/Security/CSP/Introducing_Content_Security_Policy). This also makes it possible to use React to build Chrome extensions.
Copy file name to clipboardExpand all lines: content/blog/2016-07-13-mixins-considered-harmful.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -607,7 +607,7 @@ var Button = React.createClass({
607
607
608
608
Sometimes people use mixins to selectively add logging to lifecycle methods in some components. In the future, we intend to provide an [official DevTools API](https://github.com/facebook/react/issues/5306) that would let you implement something similar without touching the components. However it’s still very much a work in progress. If you heavily depend on logging mixins for debugging, you might want to keep using those mixins for a little longer.
609
609
610
-
If you can’t accomplish something with a component, a higher-order component, or a utility module, it could be mean that React should provide this out of the box. [File an issue](https://github.com/facebook/react/issues/new) to tell us about your use case for mixins, and we’ll help you consider alternatives or perhaps implement your feature request.
610
+
If you can’t accomplish something with a component, a higher-order component, or a utility module, it could mean that React should provide this out of the box. [File an issue](https://github.com/facebook/react/issues/new) to tell us about your use case for mixins, and we’ll help you consider alternatives or perhaps implement your feature request.
611
611
612
612
Mixins are not deprecated in the traditional sense. You can keep using them with `React.createClass()`, as we won’t be changing it further. Eventually, as ES6 classes gain more adoption and their usability problems in React are solved, we might split `React.createClass()` into a separate package because most people wouldn’t need it. Even in that case, your old mixins would keep working.
Copy file name to clipboardExpand all lines: content/blog/2020-02-26-react-v16.13.0.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,6 +204,6 @@ Refer to the documentation for [detailed installation instructions](/docs/instal
204
204
- Adjust `SuspenseList` CPU bound heuristic ([@sebmarkbage](https://github.com/sebmarkbage) in [#17455](https://github.com/facebook/react/pull/17455))
205
205
- Add missing event plugin priorities ([@trueadm](https://github.com/trueadm) in [#17914](https://github.com/facebook/react/pull/17914))
206
206
- Fix `isPending` only being true when transitioning from inside an input event ([@acdlite](https://github.com/acdlite) in [#17382](https://github.com/facebook/react/pull/17382))
207
-
- Fix `React.memo` components dropping updates when interrupted by a higher priority update ([@acdlite](<(https://github.com/acdlite)>) in [#18091](https://github.com/facebook/react/pull/18091))
207
+
- Fix `React.memo` components dropping updates when interrupted by a higher priority update ([@acdlite](https://github.com/acdlite) in [#18091](https://github.com/facebook/react/pull/18091))
208
208
- Don't warn when suspending at the wrong priority ([@gaearon](https://github.com/gaearon) in [#17971](https://github.com/facebook/react/pull/17971))
209
209
- Fix a bug with rebasing updates ([@acdlite](https://github.com/acdlite) and [@sebmarkbage](https://github.com/sebmarkbage) in [#17560](https://github.com/facebook/react/pull/17560), [#17510](https://github.com/facebook/react/pull/17510), [#17483](https://github.com/facebook/react/pull/17483), [#17480](https://github.com/facebook/react/pull/17480))
Copy file name to clipboardExpand all lines: content/community/team.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,14 +38,6 @@ Brian studied art in college and did programming on the side to pay for his educ
38
38
39
39
Dan got into programming after he accidentally discovered Visual Basic inside Microsoft PowerPoint. He has found his true calling in turning [Sebastian](#sebastian-markbage)'s tweets into long-form blog posts. Dan occasionally wins at Fortnite by hiding in a bush until the game ends.
40
40
41
-
### Dominic Gannaway {#dominic-gannaway}
42
-
43
-

44
-
45
-
[@trueadm on GitHub](https://github.com/trueadm)·[@trueadm on Twitter](https://twitter.com/trueadm)
46
-
47
-
Dominic is interested in travelling, drum and bass, stand-up comedy and spending time with the family. He most enjoys hacking on new unexplored ideas around UIs and accessibility and has a passion for tweaking and optimizing code to get the most performance out of things.
48
-
49
41
### Luna Ruan {#luna-ruan}
50
42
51
43

@@ -62,6 +54,14 @@ Luna learned programming because she thought it meant creating video games. Inst
62
54
63
55
Rachel wrote a [book about UI animation](https://abookapart.com/products/animation-at-work) once and worked with MDN and the W3C on the web animations API. Now she is busy with education materials and community engineering on the React team. Secretly, she is an award-winning cartoonist for teenage girls. Catch her making fancy tea with lukewarm water in the microkitchen.
64
56
57
+
### Rick Hanlon {#rick-hanlon}
58
+
59
+

60
+
61
+
[@rickhanlonii on GitHub](https://github.com/rickhanlonii)·[@rickhanlonii on Twitter](https://twitter.com/rickhanlonii)
62
+
63
+
Ricky majored in theoretical math and somehow found himself on the React Native team for a couple years before joining the React team. When he's not programming you can find him snowboarding, biking, climbing, golfing, or closing GitHub issues that do not match the issue template.
64
+
65
65
### Sebastian Markbåge {#sebastian-markbage}
66
66
67
67

@@ -70,13 +70,11 @@ Rachel wrote a [book about UI animation](https://abookapart.com/products/animati
70
70
71
71
Sebastian majored in psychology. He's usually quiet. Even when he says something, it often doesn't make sense to the rest of us until a few months later. The correct way to pronounce his surname is "mark-boa-geh" but he settled for "mark-beige" out of pragmatism -- and that's how he approaches React.
72
72
73
-
### Yuzhi Zheng {#yuzhi-zheng}
74
-
75
-

73
+
### Seth Webster {#seth-webster}
76
74
77
-
[@yuzhi on GitHub](https://github.com/yuzhi)·[@yuzhiz on Twitter](https://twitter.com/yuzhiz)
75
+

78
76
79
-
Yuzhi studied Computer Science in school. She liked the instant gratification of seeing code come to life without having to physically be in a laboratory. Now she manages the React team. Before management, she used to work on the Relay data fetching framework. In her spare time, Yuzhi enjoys optimizing her life via gardening and home improvement projects.
77
+
Seth started programming as a kid growing up in Tucson, AZ. After school, he was bitten by the music bug and was a touring musician for about 10 years before returning to *work*, starting with Intuit. In his spare time, he loves [taking pictures](https://www.sethwebster.com) and flying for animal rescues in the northeastern United States.
80
78
81
79
## Acknowledgements {#acknowledgements}
82
80
@@ -93,6 +91,7 @@ React was originally created by [Jordan Walke](https://github.com/jordwalke). To
93
91
*[Christoph Nakazawa](https://github.com/cpojer)
94
92
*[Christopher Chedeau](https://github.com/vjeux)
95
93
*[Clement Hoang](https://github.com/clemmy)
94
+
*[Dominic Gannaway](https://github.com/trueadm)
96
95
*[Flarnie Marchan](https://github.com/flarnie)
97
96
*[Jason Quense](https://github.com/jquense)
98
97
*[Jesse Beach](https://github.com/jessebeach)
@@ -114,6 +113,7 @@ React was originally created by [Jordan Walke](https://github.com/jordwalke). To
> Наприкінці ваші бандли будуть значно відрізнятися від наведених прикладів.
47
47
48
+
<<<<<<< HEAD
48
49
Якщо ви використовуєте [Create React App](https://github.com/facebookincubator/create-react-app), [Next.js](https://github.com/zeit/next.js/), [Gatsby](https://www.gatsbyjs.org/) чи подібний інструмент, ви матимете налаштування Webpack за замовчуванням для бандлінгу вашого
49
50
додатку.
51
+
=======
52
+
If you're using [Create React App](https://create-react-app.dev/), [Next.js](https://nextjs.org/), [Gatsby](https://www.gatsbyjs.org/), or a similar tool, you will have a Webpack setup out of the box to bundle your
53
+
app.
54
+
>>>>>>> 63332462bb5afa18ac7a716975b679f4c23cc8a1
50
55
51
56
Якщо ви не використовуєте нічого з наведеного чи подібного, вам доведеться налаштовувати бандлінг самостійно. Для прикладів ознайомтеся зі
52
57
[Встановленням](https://webpack.js.org/guides/installation/) та
When possible, new code should use Flow annotations.
115
93
You can run `yarn flow` locally to check your code with Flow.
116
94
117
-
### Dynamic Injection {#dynamic-injection}
118
-
119
-
React uses dynamic injection in some modules. While it is always explicit, it is still unfortunate because it hinders understanding of the code. The main reason it exists is because React originally only supported DOM as a target. React Native started as a React fork. We had to add dynamic injection to let React Native override some behaviors.
120
-
121
-
You may see modules declaring their dynamic dependencies like this:
The `injection` field is not handled specially in any way. But by convention, it means that this module wants to have some (presumably platform-specific) dependencies injected into it at runtime.
147
-
148
-
There are multiple injection points in the codebase. In the future, we intend to get rid of the dynamic injection mechanism and wire up all the pieces statically during the build.
149
-
150
95
### Multiple Packages {#multiple-packages}
151
96
152
97
React is a [monorepo](https://danluu.com/monorepo/). Its repository contains multiple separate packages so that their changes can be coordinated together, and issues live in one place.
@@ -211,9 +156,7 @@ Its source code is located in [`packages/react-reconciler`](https://github.com/f
211
156
212
157
### Event System {#event-system}
213
158
214
-
React implements a synthetic event system which is agnostic of the renderers and works both with React DOM and React Native. Its source code is located in [`packages/legacy-events`](https://github.com/facebook/react/tree/master/packages/legacy-events).
215
-
216
-
There is a [video with a deep code dive into it](https://www.youtube.com/watch?v=dRo_egw7tBc) (66 mins).
159
+
React implements a layer over native events to smooth out cross-browser differences. Its source code is located in [`packages/react-dom/src/events`](https://github.com/facebook/react/tree/master/packages/react-dom/src/events).
Copy file name to clipboardExpand all lines: content/docs/conditional-rendering.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,11 @@ ReactDOM.render(
122
122
123
123
### Вбудовані умови if з логічним оператором && {#inline-if-with-logical--operator}
124
124
125
+
<<<<<<< HEAD
125
126
Ви можете [вставляти будь-який вираз у JSX](/docs/introducing-jsx.html#embedding-expressions-in-jsx) охопивши його у фігурні дужки. Це правило поширюється і на логічний оператор `&&` JavaScript, яким можно зручно вставити елемент в залежності від умови:
127
+
=======
128
+
You may [embed expressions in JSX](/docs/introducing-jsx.html#embedding-expressions-in-jsx) by wrapping them in curly braces. This includes the JavaScript logical `&&` operator. It can be handy for conditionally including an element:
0 commit comments