T
T
tytar2016-01-20 03:18:11
React
tytar, 2016-01-20 03:18:11

Who can share a simple startkit build for react es6+browserify\webpact etc?

Share who does not feel sorry for a simple boilerplate or startkit or whatever it is. The second day of searching on the github, etc. a bunch of such start kits but all in vain, most of them collected on old packages, etc. And such www.reactstarterkit.com is redundant for me.
ZYZH if it wasn’t hot, I wouldn’t write here, but since I’m NOT a frontend worker, I need the help of those who know.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Antropov, 2016-01-20
@Laiff

It is considered the best to start with hot swap using react redux router webpack etc...
https://github.com/erikras/react-redux-universal-h...
Active community of the project

V
vsuhachev, 2016-01-20
@vsuhachev

I like this one . There is only js and react, the rest of the spare parts, flux, router, styles need to be added by yourself, but this is for the best.

V
Vitaly Sivkov, 2016-01-20
@Sivkoff

Better collect yourself. It won't take long and you'll only get what you need.
You can take this video as a basis .
UPD : most likely you have a version conflict. Made you a config based on my package.json

{
  "name": "react",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js --content-base ./src --port 3000 --inline --hot"
  },
  "author": "sivkoff",
  "license": "MIT",
  "devDependencies": {
    "babel": "^6.3.26",
    "babel-core": "^6.4.0",
    "babel-loader": "^6.2.1",
    "babel-preset-es2015": "^6.3.13",
    "babel-preset-react": "^6.3.13",
    "webpack": "^1.12.11",
    "webpack-dev-server": "^1.12.11"
  },
  "dependencies": {
    "react": "^0.14.6",
    "react-dom": "^0.14.6",
    "redux": "^3.0.5"
  }
}

Replace your package.json with it, delete the node_modules folder and run npm install.
Launching the dev server npm start. If it still doesn't work out, contact me personally, I'll send you the entire test assembly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question