Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle useEffect with array value as dependency
As it only checks object identity, when we pass in a new array each time (even with the same values) it considers that changed, but we only want it changes if the values _in_ the array change. Achieved with `.join(' ')`ing the values.
- Loading branch information