From ed20a1019de503ed42efc61afd58503891b4e577 Mon Sep 17 00:00:00 2001 From: h908714124 Date: Fri, 8 Dec 2023 16:58:03 +0100 Subject: [PATCH] Update README.md (#34) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c02853..e585d00 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Instead, you have the "same key, same bean" rule: Intuitively this means a component injects the same bean instance everywhere (unless of course you're using qualifiers or inject a provider). If you want to re-use a bean across multiple components, or multiple instances of the same component, use a `@Factory` or a `@Builder` to pass it. -If possible, the component will use instance that was passed this way, rather than create a new bean instance. +The component will then use the bean instance that was passed this way, and it will not create a new bean instance. If you inject `Provider`, rather than `TheBean` directly, calling `provider.get()` will create a fresh bean instance every time.