From 654c6b7df957611e294eaedf16bfca5196d3f5c4 Mon Sep 17 00:00:00 2001 From: Mike Wilcox Date: Mon, 20 Nov 2017 21:46:25 -0500 Subject: [PATCH] Update componentDidMount link (#316) Currently when clicking this link, it tries to open link as `https://reactjs.org/https://reactjs.org/docs/react-component.html#mounting` and just spins. --- content/docs/faq-ajax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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