Check out example codes for "tox install requirements constraints". It will help you in understanding the concepts better.

Code Example 1

[testenv]
deps =
    -rrequirements.txt
    -cconstraints.txt

Learn ReactJs, React Native from akashmittal.com