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: CHANGELOG.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,8 @@
5
5
- Special props are now passed into components via props.
6
6
- The `ref` prop behavior has been changed. For host elements, the callback is fired once when the element is created. For component elements, the callback must be manually passed to one of the component’s children to fire. The `ref` callback will have no effect for other elements like `<Fragment>`.
7
7
- The special `static` prop has been renamed to `copy` to avoid collisions with the `static` keyword.
8
-
- The `value` prop, which allows you to access the current rendered value of a component has been deprecated.
8
+
- The `context.value` property, which allows you to access the current rendered value of a component from the context, has been deprecated.
9
+
- Elements which are reused between renders will skip rendering. This means you have to clone elements between renders if you want them to rerender.
9
10
### Features
10
11
- Component contexts are now passed to components as the second parameter.
11
12
- React style camelCased event names (`onChange`, `onInput`) are now supported.
0 commit comments