React Sass

Install sass

npm install node-sass
$myRed: red;

h1 {
  color: $myRed;
import React from 'react';
import ReactDOM from 'react-dom';
import './mysass.scss';

class Profile extends React.Component {
  render() {
    return (
      <h1>Hello World!</h1>

ReactDOM.render(<Profile />, document.getElementById('root'));


Subscribe To Our Newsletter
You will receive our latest post and tutorial.
Thank you for subscribing!


Leave a Reply

Your email address will not be published. Required fields are marked *