Check out example codes for "output requirements conda". It will help you in understanding the concepts better.

Code Example 1

conda activate <env>
conda install pip
pip freeze > requirements.txt

Learn ReactJs, React Native from akashmittal.com