From 509b1265101e430beaf3b3efd149240c97ee4a3c Mon Sep 17 00:00:00 2001 From: Alex Krolick Date: Fri, 23 Mar 2018 11:23:22 -0700 Subject: [PATCH] Explain context in lifecycle a bit more --- content/docs/context.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/docs/context.md b/content/docs/context.md index 79ec475c..0d798490 100644 --- a/content/docs/context.md +++ b/content/docs/context.md @@ -99,6 +99,8 @@ If two or more context values are often used together, you might want to conside ## Accessing Context in Lifecycle Methods +Accessing values from context in lifecycle methods is a relatively common use case. Instead of adding context to every lifecycle method, you just need to pass it as a prop, and then work with it just like you'd normally work with a prop. + `embed:context/lifecycles.js` ## Forwarding Refs to Context Consumers