3 ms·
I agree. Something about it just doesn't feel right to me. Like state is stored in a global singleton somewhere. Any of the examples touch on testing component
by dvlsg 8y ago
I agree. Something about it just doesn't feel right to me. Like state is stored in a global singleton somewhere.
Any of the examples touch on testing components using hooks? Any chance using the same component across multiple tests would result in state collisions? Especially when testing something asynchronous?