[DevTools Changelog] Add a note about restoring selection (#16409)
Also a tiny nit, "inline" spelling seems more common in this context. My eyes stumbled at it on every read.
Dan Abramov committed
Aug 15, 2019 at 23:11 UTC
6f86294e686e172fb8da32880f70fa038d644c74
1 file changed
+9
-3
packages/react-devtools/CHANGELOG.md
+9
-3
@@ -41,9 +41,9 @@ Host nodes (e.g. HTML `<div>`, React Native `View`) are now hidden by default, b
41
42
Filter preferences are remembered between sessions.
43
44
-#### No more in-line props
44
+#### No more inline props
45
46
-Components in the tree no longer show in-line props. This was done to [make DevTools faster](https://github.com/facebook/react/blob/master/packages/react-devtools/OVERVIEW.md) and to make it easier to browse larger component trees.
46
+Components in the tree no longer show inline props. This was done to [make DevTools faster](https://github.com/facebook/react/blob/master/packages/react-devtools/OVERVIEW.md) and to make it easier to browse larger component trees.
47
48
You can view a component's props, state, and hooks by selecting it:
49
@@ -101,6 +101,12 @@ Components decorated with multiple HOCs show the topmost badge and a count. Sele
101
102

103
104
+#### Restoring selection between reloads
105
+
106
+DevTools now attempts to restore the previously selected element when you reload the page.
107
+
108
+
109
+
110
#### Suspense toggle
111
112
React's experimental [Suspense API](https://reactjs.org/docs/react-api.html#suspense) lets components "wait" for something before rendering. `<Suspense>` components can be used to specify loading states when components deeper in the tree are waiting to render.
@@ -139,4 +145,4 @@ Because this feature adds a small amount of overhead, it can be disabled in the
145
146
The profiler now displays a list of each time the selected component rendered during a profiling session, along with the duration of each render. This list can be used to quickly jump between commits when analyzing the performance of a specific component.
147
142
-
\ No newline at end of file
148
+