* Regression test for https://github.com/motiondivision/motion/issues/3401 * * Matches the reporter's sandbox pattern: only the most-recently-added item * has initial/animate props. When the next item is added, shouldAnimate flips * false for the previous item — its x animation stops and latestV
| 12 | */ |
| 13 | |
| 14 | interface Item { |
| 15 | id: number |
| 16 | isAdded: boolean |
| 17 | } |
| 18 | |
| 19 | export const App = () => { |
| 20 | const [items, setItems] = useState<Item[]>([ |
nothing calls this directly
no outgoing calls
no test coverage detected