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
In the section "Displaying Loading State", the example code suddenly switches to using <PostExcerpt>, but that wasn't used in the last set of instructions where this portion of code is used. Anybody following-along the guide is forced to scroll to the bottom of this section to open the code sandbox and see exactly how the <PostExcerpt> component is built. The code sandbox from the previous section didn't include <PostExcerpt> as a separate component.
Users can ignore this and continue using the single-component layout, but it makes things a bit confusing when they get to the profiling section and don't see a separate <PostExcerpt> component. It also makes it difficult to then wrap React.memo() around it.
What should be changed to fix the problem?
Use the separate <PostExcerpt> component in the previous section.
The text was updated successfully, but these errors were encountered:
Hmm. I know I went back and forth on whether to have that component a few times while writing the tutorial. It's very possible that I didn't end up showing that one clearly.
What docs page needs to be fixed?
What is the problem?
In the section "Displaying Loading State", the example code suddenly switches to using
<PostExcerpt>
, but that wasn't used in the last set of instructions where this portion of code is used. Anybody following-along the guide is forced to scroll to the bottom of this section to open the code sandbox and see exactly how the<PostExcerpt>
component is built. The code sandbox from the previous section didn't include<PostExcerpt>
as a separate component.Users can ignore this and continue using the single-component layout, but it makes things a bit confusing when they get to the profiling section and don't see a separate
<PostExcerpt>
component. It also makes it difficult to then wrapReact.memo()
around it.What should be changed to fix the problem?
Use the separate
<PostExcerpt>
component in the previous section.The text was updated successfully, but these errors were encountered: