Skip to content

React DevTools v4 blog post #2199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 15, 2019
Merged

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Aug 5, 2019

First pass at v4 release blog post. I decided to keep this pretty high level (with the details being in the changelog) so that it could hopefully answer all of the most important questions at a glance.

Release date and React Native version is arbitrary. I just needed something to fill in.

View the formatted blog post

@reactjs-bot
Copy link

reactjs-bot commented Aug 5, 2019

Deploy preview for reactjs ready!

Built with commit c34f1c6

https://deploy-preview-2199--reactjs.netlify.com

@rachelnabors
Copy link
Contributor

For folks who haven't been following along, what do you mean by "A lot has changed!" (since...?)

@rachelnabors
Copy link
Contributor

"the extension should update " can you link to the extension for folks who haven't installed it yet?

@bvaughn
Copy link
Contributor Author

bvaughn commented Aug 6, 2019

The header above says that we're announcing a new release, so I think "a lot has changed [in the new release]" is implied, but I could add "in version 4" if you think that's better?

@@ -0,0 +1,63 @@
---
title: "Introducing the new React DevTools"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: capitalize "New"? We don't always do that but mostly do for announcement posts

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what threw me off. I couldn't tell if these were new or a new version (hence my comment about "a lot has changed since..." above!)

title: "Introducing the new React DevTools"
author: [bvaughn]
---
We are excited to announce a new release of the React developer tools, available today in supported browsers!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: capitalize Developer Tools?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re: "supported browsers", can we be more specific? It doesn't tell you much since obviously it's unavailable in unsupported browsers — and if you don't know e.g. that FF is supported, this doesn't tell you either. Or we could remove the qualifier altogether if you don't want to go into detail.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I had listed Chrome, Firefox, and Chromium Edge at first but then thought maybe it was too wordy and deleted it. I can re-add.

## What's changed?

A lot has changed!
[Check out the changelog](https://github.com/bvaughn/react-devtools-experimental/blob/master/CHANGELOG.md) for a complete list.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

People generally expect changelogs to be boring and might not look. But yours is actually pretty beautiful, even with gifs. I'd maybe copy and paste these gifs here, people like to see pretty pictures. Maybe not all of them if you would rather keep it short.

Alternatively you could make a bullet point summary for major changes that make it feel worth it ("a lot has changed" is actually a bit scary), and then conclude "To see the demos and learn about the changes in more detail, see the changelog".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the last one, bullets with a link.... and a gif?

**`react-dom`**

* `0`-`14.x`: Not supported
* `15.x`: Partial (component filters not supported)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a downgrade. But component filters are a new feature. Maybe there's another way to phrase it to make it look additive rather than diminishing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.


```shell
npm install -g react-devtools@^4
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe link to the standalone instructions here.

npm install -g react-devtools@^4
```

## Where did all of the DOM elements go?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this

npm install --dev react-devtools@^3
```

For older versions of React DOM (v14 or earlier) you will need to build the extension from source:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v0.14 to be clearer

yarn build:extension

# Follow the on-screen instructions for installation
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This leaves no opportunity to voice feedback. Maybe add "Thanks" where you say you're thankful to people who tried it early, and note that we're happy to hear feedback on twitter or in the repository. (This doesn't mean we'll act on every single piece of feedback, but we need a space for people to complain and report issues to).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, fair. I guess I assumed people would not hesitate to tweet at us or file GH issues as they usually do. I'll add an explicit thanks section though with feedback instructions.

@bvaughn bvaughn force-pushed the new-react-devtools branch from 19a3bc3 to 3ebf44e Compare August 8, 2019 21:48
@bvaughn bvaughn force-pushed the new-react-devtools branch from 3ebf44e to d2b38d3 Compare August 13, 2019 16:55
## What's changed?

A lot has changed in version 4!
At a high level, this new version should offer significant performance gains and an improved navigation experience.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still feel like there should be at least one flagship feature here. Maybe add "This release also offers full support for React Hooks, including inspecting nested objects."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good

Copy link
Member

@gaearon gaearon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good overall, a few nits

React DevTools is available as an extension for [Chrome](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) and [Firefox](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/).
If you have already installed the extension, it should update automatically within the next couple of hours.

Standalone users (e.g. React Native or Safari) can install the new version [from NPM](https://www.npmjs.com/package/react-devtools):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "If you use the standalone shell (e.g. in React Native or Safari), you can [...]"

"Standalone users" is odd


## Where did all of the DOM elements go?

The new DevTools provides a way to filter components from the tree to make it easier to navigate large applications.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds like we're biased towards larger apps. Maybe:

The new DevTools provides a way to filter components from the tree to make it easier to navigate deeply nested hierarchies.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought "larger apps" might be more meaningful to beginners or non-native speakers than "deeply nested hierarchies". I don't feel strongly about this though.

Your feedback helped improve this initial release significantly.

We still have many exciting features planned and feedback is always welcome!
Please feel free to open a [GitHub issue](https://github.com/bvaughn/react-devtools-experimental/issues/new) or tag [@brian\_d\_vaughn on Twitter](https://twitter.com/brian_d_vaughn).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oof, you're brave. Can put just reactjs account there.

Re: issues, probably want to update the link?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆 Sure


A lot has changed in version 4!
At a high level, this new version should offer significant performance gains and an improved navigation experience.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one screenshot or a gif here, pretty please? I need to see what I'm gonna be using.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screen Shot 2019-08-15 at 10 44 41 AM

@bvaughn bvaughn merged commit 3c7837a into reactjs:master Aug 15, 2019
@bvaughn bvaughn deleted the new-react-devtools branch August 15, 2019 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants