# Optimizing Checkbox State Handling in @elastic/react-search-ui to Prevent Unnecessary Re-renders

**URL:** <https://discuss.elastic.co/t/optimizing-checkbox-state-handling-in-elastic-react-search-ui-to-prevent-unnecessary-re-renders/370560>\
**Category:** Elastic Search\
**Created:** [November 14, 2024, 2:36pm UTC](https://discuss.elastic.co/t/optimizing-checkbox-state-handling-in-elastic-react-search-ui-to-prevent-unnecessary-re-renders/370560 "2024-11-14T14:36:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kudumine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kudumine/32/138227_2.png) [@kudumine](https://discuss.elastic.co/u/kudumine)\
**Post date:** [November 19, 2024, 9:54am UTC](https://discuss.elastic.co/t/optimizing-checkbox-state-handling-in-elastic-react-search-ui-to-prevent-unnecessary-re-renders/370560/2 "2024-11-19T09:54:36Z")

</div>

I found this conversation ([Link](https://discuss.elastic.co/t/react-search-ui-is-remounting-its-children-on-state-or-prop-update/254501)) from 2020 that seems to be the same issue - has anyone ever found a way to prevent this?

---

_[View the full topic](https://discuss.elastic.co/t/optimizing-checkbox-state-handling-in-elastic-react-search-ui-to-prevent-unnecessary-re-renders/370560)._
