The React wrapper

One <AVGrid>, one detached <AVGridFilterBar>, and the real instance through a ref. Watch the counter: every button below re-renders the component with freshly created inline callbacks, and the grid is never recreated — setOptions is called only for the option that actually changed.