Storing a big list in top-level state: Stimulus or React?

I’m looking to persist a big (1000-10000) list of ids across page loads - would there be any difference (performance-wise) between using Stimulus vs something like React?

I would suggest to do a simple benchmark and compare it by yourself. That way you can decide based on your own experience.

How would you go about persisting any data across page loads with Stimulus?
You’d have to use another tool to bridge that like browser storage solutions, or bypass page loads entirely as in the case with react-router and turbolinks for stimulus.