Check out example codes for "vscode auto line break". It will help you in understanding the concepts better.

Code Example 1

alt + z to auto break line in vs code

Learn ReactJs, React Native from akashmittal.com