Coder Social home page Coder Social logo

dattaya / react-boilerplate-object Goto Github PK

View Code? Open in Web Editor NEW
18.0 6.0 5.0 4.01 MB

This repository is a copy of mxstbr/react-boilerplate with the only difference—immutable.js was removed. :fire: A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices. http://reactboilerplate.com

License: MIT License

ApacheConf 0.78% JavaScript 93.41% HTML 5.80%

react-boilerplate-object's Issues

$set in App/Reducers

function appReducer(state = initialState, action) {
  switch (action.type) {
    case LOAD_REPOS:
      return update(state, {
        loading: { $set: true },
        error: { $set: false },
        userData: { repositories: { $set: false } },
      });
    case LOAD_REPOS_SUCCESS:
      return update(state, {
        loading: { $set: false },
        currentUser: { $set: action.username },
        userData: { repositories: { $set: action.repos } },
      });
    case LOAD_REPOS_ERROR:
      return { ...state, loading: false, error: action.error };
    default:
      return state;
  }
}

Upgrade to React 16

Is the anything in the pipeline for moving to React 16? I see the standard react-boilerplate project has moved to React 16 in their develop branch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.