Yes, useContext()
has a hidden dependency trade off. In regards to why people use it; from my experience people are mostly advised to depend on useContext
for small projects, if the the trade off for using it will have a serious adverse effect you should consider other options that accounts for that trade-off.