details HTML element doesn’t seem to work well when used as a controlled
component in React, as pointed out in
this open GitHub
issue. At first, I thought it
was a React bug, but at the end of my investigation while writing this, I
concluded it’s simply a mistake – not having a single source of truth for
- From the basic to the hacky stuff you should do to deliver the best experience.4 min.