Hide RefinementList before Searchbox is dirty

Hello,

I am currently using react-instantsearch with connectSearchBox and connectRefinementList (plus connectStats).

Currently the refinement list is always shown even before the user type anything in the searchbox input, I am trying to find a way to hide the refinement list until the searchbox is dirty (or first hits appear as I wait for the user to type at least 3 characters before showing any hit).

I am trying to achieve this through useState or useContext but I hope there is a simpler way with algolia components or props maybe ?

Thanks for your help.