diff --git a/content/docs/faq-ajax.md b/content/docs/faq-ajax.md index 420ac6b7..38a532fe 100644 --- a/content/docs/faq-ajax.md +++ b/content/docs/faq-ajax.md @@ -12,7 +12,7 @@ You can use any AJAX library you like with React. Some popular ones are [Axios]( ### Where in the component lifecycle should I make an AJAX call? -You should populate data with AJAX calls in the [`componentDidMount`](https://reactjs.org/docs/react-component.html#mounting) lifecycle method. This is so you can use `setState` to update your component when the data is retrieved. +You should populate data with AJAX calls in the [`componentDidMount`](/docs/react-component.html#mounting) lifecycle method. This is so you can use `setState` to update your component when the data is retrieved. ### Example: Using AJAX results to set local state