codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Follow publication

Step by Step! React, Redux and Webpack

Taras Batenkov
codeburst
Published in
5 min readJul 26, 2017

--

Getting started

$ cd my-project-folder
$ yarn init
or with NPM:$ cd my-project-folder
$ npm init

The Boss Webpack and his band(le) 😎

$ yarn add webpack --devor with NPM:$ npm install webpack --save-dev

Only JavaScript is not enough

<div className=”sidebar”></div>
React.createElement( ‘div’, {className: ‘sidebar’}, null )

Babel

$ yarn add babel-core babel-preset-es2015 babel-preset-react --dev
$ yarn add babel-loader --dev

Webpack Dev Server

$ yarn add webpack-dev-server --dev

CSS loader

$ yarn add css-loader style-loader --dev

Actually React

yarn add react react-dom

The part 2 is coming soon…

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Published in codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Written by Taras Batenkov

Interested in Web and Data Science. Writes about it here | @enkot_

Responses (14)

Write a response