Check out example codes for "scss in react app". It will help you in understanding the concepts better.

Code Example 1

npm install node-sass --save-dev

Code Example 2

npm install node-sass --save

Code Example 3

$ npm install node-sass --save$ # or$ yarn add node-sassCopy

Learn ReactJs, React Native from akashmittal.com