Skip to content

Commit

Permalink
Update ControlledInputs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Deraen authored Sep 2, 2024
1 parent 886d203 commit fd79a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ControlledInputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<input>`
or React `create-element`), Reagent doesn't see
the element so the workaround can't be applied.
Expand Down

0 comments on commit fd79a26

Please sign in to comment.