Coder Social home page Coder Social logo

multitabssync's People

Contributors

makarov-roman avatar

Stargazers

 avatar

Watchers

 avatar  avatar

multitabssync's Issues

Не работает синхронизация между табами

  • Не работает синхронизация между табами
  • Данные не восстанавливаются из localStorage

Вот стэк ошибок
Сборка:

app/components/Todos.js:8
  8:    todos: Map,
               ^^^ Map. Application of polymorphic type needs <list of 2 arguments>. (Can use `*` for inferrable ones)

app/containers/App.js:23
 23: function mapStateToProps(state:Map) {
                                    ^^^ Map. Application of polymorphic type needs <list of 2 arguments>. (Can use `*` for inferrable ones)

app/containers/Controls.js:43
 43: function mapStateToProps(state:Map) {
                                    ^^^ Map. Application of polymorphic type needs <list of 2 arguments>. (Can use `*` for inferrable ones)

app/containers/Todo.js:14
 14:    todoItem: Map,
                  ^^^ Map. Application of polymorphic type needs <list of 2 arguments>. (Can use `*` for inferrable ones)

node_modules/react/lib/TapEventPlugin.js:0
TapEventPlugin. Duplicate module provider
current provider. See: node_modules/react-tap-event-plugin/src/TapEventPlugin.js:0


Found 5 errors

flow is still initializing; this can take some time. [local inference] -flow is still initializing; this can take some time. [local inference] \flow is still initializing; this can take some time. [merging inference] |

Console:

combineReducers.js?4e7b:36The previous state received by the reducer is of unexpected type. Expected argument to be an instance of Immutable.Iterable with the following properties: "todos", "filter".(anonymous function) @ combineReducers.js?4e7b:36(anonymous function) @ configureStore.js?ab7e:41dispatch @ createStore.js?1079:179(anonymous function) @ index.js?079f:208(anonymous function) @ index.js?f838:14fetchFromStorage @ index.js?2018:56watchStorage @ index.js?2018:65(anonymous function) @ index.js?2018:39(anonymous function) @ todos.js:768__webpack_require__ @ vendor.js:586fn @ vendor.js:110(anonymous function) @ todos.js:6__webpack_require__ @ vendor.js:586webpackJsonpCallback @ vendor.js:22(anonymous function) @ todos.js:1
index.js?079f:152 action @ 10:46:53.891 HYDRATE_STATE 
index.js?079f:164 prev state Object {todos: Array[1], filter: ""}
index.js?079f:168 action Object {type: "HYDRATE_STATE", state: null}
index.js?079f:172 error TypeError: Cannot read property 'withMutations' of null(…)
index.js?079f:176 next state Object {todos: Array[1], filter: ""}
index.js?079f:221Uncaught TypeError: Cannot read property 'withMutations' of null

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.