reagent

A minimalistic ClojureScript interface to React.js http://reagent-project.github.io/
2020-05-15T12:34:37.463400Z

Any tips for debugging why a certain use of a component is being unmounted/remounted? I have a text field that when I focus it the first time and type one character, I lose focus because the component gets unmounted and remounted, but subsequent focus/typing is totally fine. I did some searching and see many similar reports in react, but I'm not quite sure what I'm doing wrong in reagent.

aisamu 2020-05-15T13:16:22.463500Z

Losing focus/jumping cursors are common issues with controlled components, but the "only on the first time" part puzzles me. Do you have a small reproducible example?

2020-05-15T13:27:25.463700Z

No, not an isolated example. I managed to work around my problem, but without a great deal of understanding. I will see if it is possible to extract a minimal example. Thanks!