Giter Site home page Giter Site logo

Comments (7)

programarivm avatar programarivm commented on July 23, 2024 2

thank you @mindninjaX

The following tutorial should guide you through setting up the testing-redux-chess repo:

Atm, I am using the following command when displaying changes on the browser:

$ npm run publish:npm --prefix /home/standard/projects/redux-chess && npm run update:local:redux-chess && npm run restart --port=3000

from spablab.

mindninjaX avatar mindninjaX commented on July 23, 2024 2

Thanks for sharing! I'll start working on this right away 🚀

from spablab.

mindninjaX avatar mindninjaX commented on July 23, 2024 1

Hi @programarivm! Looks like there is some cross-compatibility issue. I would like to work on fixing this issue. Please consider assigning it to me.

from spablab.

programarivm avatar programarivm commented on July 23, 2024 1

hi @mindninjaX I am also looking at this one atm as well since the fix is required to publish this demo if this is okay with you.

See issue #9

from spablab.

mindninjaX avatar mindninjaX commented on July 23, 2024 1

Hi @programarivm! Well as soon as we get this issue fixed, we can go ahead with publishing the demo... Demo shouldn't take a lot of time to get up & running 🚀

from spablab.

programarivm avatar programarivm commented on July 23, 2024

@mindninjaX the Redux DevTools extension has been commented out in the store.js file if this makes sense.

import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import rootReducer from './reducers/rootReducer';

// Comment out when debugging with testing-redux-chess
// See https://github.com/programarivm/testing-redux-chess

const store = createStore(rootReducer, applyMiddleware(thunk));

// Uncomment when debugging with testing-redux-chess
// See https://github.com/programarivm/testing-redux-chess

/*
const store = createStore(
  rootReducer,
  compose(
    applyMiddleware(thunk),
    window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
  )
);
*/

export default store;

This is how the store should be created while testing and developing the package:

const store = createStore(
  rootReducer,
  compose(
    applyMiddleware(thunk),
    window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
  )
);

See bradtraversy/redux_crash_course#2

from spablab.

programarivm avatar programarivm commented on July 23, 2024

Merged PR #11

from spablab.

Related Issues (20)

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.