title: React / Redux : What is the mechanism to filter what gets into the app?
body: <p>I'm not experienced in React and Redux so apologies if this is too trivial, but I couldn't find the answer myself.</p>
  <p>I have a React 17 app using Redux 8 and React Router DOM 6. In short, I need to create a filter that will execute every time a new request comes into the app. It must read a query string param and pass it down to the slices. If the query string param is not present, the app just executes normally.</p>
  <p>What's the right way to implement that in React / Redux? I already have a middleware for instance that executes some logic for a specific action, which obviously is executed for every request. Should I create another middleware, read the query param and pass it on to the slice? Won't that add too much overhead?</p>
  <p>Thank you</p>