Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to Debug #107
Hey @sujinleeme Thank you for your recommendations
Debugging React with Chrome and React Developer Tools would be a great additional chapter. Maybe in the end of the book? Maybe it can touch Break Points too even though I think it's not necessarily related to React. What do you think?
The redux-logger is discussed in Taming the State in React. Because The Road to learn React doesn't introduce Redux, it wouldn't make sense to show redux-logger.
If someone has time to introduce such a chapter in the English version of the book in the first place, let me know. Otherwise I can do it at some point :)
Should it be a dedicated chapter7.md file, about the "Debugging" subject, containing chapters like:
Debugging React with Chrome
React Developer Tools
Or, just a chapter in the end of chapter6.md?
I think that debugging is important enough to have it's dedicated section, but I'd be happy to write any of these options.
So, my idea here is to explain the main purpose of React Developer Tools and how it works. Inspecting your true components (instead of raw HTML DOM nodes), props, changing state to see what happens, jumping to related source code and so on.