From fd79a2685e53fcfb71fa68091477f92149c7d0f1 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Mon, 2 Sep 2024 16:37:02 +0300 Subject: [PATCH] Update ControlledInputs.md --- doc/ControlledInputs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ControlledInputs.md b/doc/ControlledInputs.md index c7b8daee..f5056bf4 100644 --- a/doc/ControlledInputs.md +++ b/doc/ControlledInputs.md @@ -2,7 +2,7 @@ Reagent uses async rendering which causes problems with controlled inputs. If the input element is created directly by Reagent (i.e. `[:input ...]` in hiccup), [a -workaround](https://github.com/reagent-project/reagent/blob/master/src/reagent/impl/template.cljs#L132-L238) +workaround](https://github.com/reagent-project/reagent/blob/master/src/reagent/impl/input.cljs) can be applied, but if the input is created by JS library (i.e. JSX `` or React `create-element`), Reagent doesn't see the element so the workaround can't be applied.