function App() { return (
); } const value = store .getState() .filter((x) => x.active); function List({ items, show }) { return ( <> {show && } {items.map((item) => ( ))}