Skip to content

Commit cf1c73d

Browse files
committed
seo: fix external 4XXs
1 parent a3033be commit cf1c73d

File tree

8 files changed

+4
-10
lines changed
  • questions
    • how-do-you-debug-react-applications
    • what-are-higher-order-components-in-react
    • what-are-react-fragments-used-for
    • what-are-react-portals-used-for
    • what-is-jsx-and-how-does-it-work
    • what-is-react-suspense-and-what-does-it-enable
    • what-is-the-usereducer-hook-in-react-and-when-should-it-be-used
    • what-is-the-useref-hook-in-react-and-when-should-it-be-used

8 files changed

+4
-10
lines changed

questions/how-do-you-debug-react-applications/en-US.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ function MyComponent() {
142142
- [React Developer Tools](https://react.dev/learn/react-developer-tools)
143143
- [Error boundaries in React](https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary)
144144
- [Using the Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools)
145-
- [Debugging JavaScript](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Debugging)
145+
- [JavaScript debugging and error handling](https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Scripting/Debugging_JavaScript)

questions/what-are-higher-order-components-in-react/en-US.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ In this example, `withExtraProps` is an HOC that adds an `extraProp` to `MyCompo
8383
## Further reading
8484

8585
- [Understanding higher order components in React](https://medium.com/@franleplant/react-higher-order-components-in-depth-cf9032ee6c3e)
86-
- [HOCs vs Render Props vs Hooks](https://blog.logrocket.com/hooks-vs-render-props-vs-hocs/)
86+
- [HOCs vs Render Props vs Hooks](https://gist.github.com/bradwestfall/4fa683c8f4fcd781a38a8d623bec20e7)

questions/what-are-react-fragments-used-for/en-US.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,3 @@ return (
7878
## Further reading
7979

8080
- [React Fragments - Official Documentation](https://react.dev/reference/react/Fragment)
81-
- [React Fragments - A Complete Guide](https://www.freecodecamp.org/news/react-fragments-complete-guide/)
82-
- [When to use React Fragments](https://blog.logrocket.com/when-to-use-react-fragments/)

questions/what-are-react-portals-used-for/en-US.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,4 @@ ReactDOM.createPortal(child, container);
9393
## Further reading
9494

9595
- [React createPortal documentation](https://react.dev/reference/react-dom/createPortal)
96-
- [Building a modal with React Portals](https://blog.logrocket.com/building-a-modal-with-react-portals/)
97-
- [Using React Portals for better accessibility](https://www.smashingmagazine.com/2020/03/react-portals-accessibility/)
96+
- [Building a modal in React with React Portals](https://blog.logrocket.com/build-modal-with-react-portals/)

questions/what-is-jsx-and-how-does-it-work/en-US.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,3 @@ By default, React DOM escapes any values embedded in JSX before rendering them.
6969

7070
- [React JSX documentation](https://react.dev/learn/writing-markup-with-jsx)
7171
- [Babel](https://babeljs.io/)
72-
- [MDN Web Docs on JSX](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/JSX)

questions/what-is-react-suspense-and-what-does-it-enable/en-US.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ In this example, `react-query` is used to fetch data, and `Suspense` provides a
8787
- [React Suspense documentation](https://react.dev/reference/react/Suspense)
8888
- [React.lazy documentation](https://react.dev/reference/react/lazy)
8989
- [React Query documentation](https://react-query.tanstack.com/)
90-
- [Relay documentation](https://relay.dev/docs/en/experimental/api-reference#suspense)
90+
- [Relay documentation](https://relay.dev/docs/next/guides/relay-resolvers/suspense/)

questions/what-is-the-usereducer-hook-in-react-and-when-should-it-be-used/en-US.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,3 @@ export default Counter;
9090

9191
- [React documentation on `useReducer`](https://react.dev/reference/react/useReducer)
9292
- [Using the `useReducer` hook](https://react.dev/learn/scaling-up-with-reducer-and-context)
93-
- [A complete guide to `useReducer`](https://www.smashingmagazine.com/2020/06/redux-patterns-use-reducer-react/)

questions/what-is-the-useref-hook-in-react-and-when-should-it-be-used/en-US.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,3 @@ In this example, `prevCountRef` is used to keep a reference to the previous valu
108108

109109
- [React documentation on `useRef`](https://react.dev/reference/react/useRef)
110110
- [Using the `useRef` hook](https://react.dev/learn/manipulating-the-dom-with-refs)
111-
- [Common use cases for `useRef`](https://blog.logrocket.com/how-to-use-react-useref-hook/)

0 commit comments

Comments
 (0)