From 4129d4fcc4b5cb4af714feabe3b61dd791860f8b Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Thu, 29 Aug 2019 14:23:08 -0500 Subject: [PATCH] Link to a live example --- react/trigger-effect-only-when-the-component-mounts.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/react/trigger-effect-only-when-the-component-mounts.md b/react/trigger-effect-only-when-the-component-mounts.md index fc65cb0..42223ab 100644 --- a/react/trigger-effect-only-when-the-component-mounts.md +++ b/react/trigger-effect-only-when-the-component-mounts.md @@ -34,3 +34,5 @@ function App() { In this example, we will see `The count is: 0` get logged when the component first mounts. As we hit the button to increment the count, nothing else will be logged. + +See the [live example](https://codesandbox.io/s/mystifying-currying-l2rw2).