Query on the effect of Shuttle frame realized by mobx + react

I have two table components of antd, and to achieve the shuttling box effect on them, I now have two ideas to waver!

1. Create a parent store (mobx), with two table components whose store inherits its array

2. In the array used by the two table components, add / delete to achieve the effect

Mar.20,2021
Menu