Check out example codes for "can't open rails console why". It will help you in understanding the concepts better.

Code Example 1

spring stop

Code Example 2

spring stop

Learn ReactJs, React Native from akashmittal.com