GithubHelp home page GithubHelp logo

Comments (3)

damienleroux avatar damienleroux commented on September 7, 2024

I resolved the issue. appBarActions was badly declared. Right solution is

export var appBarActions={
  init:() =>{
    return (dispatch, getState)=>{

      if (getState.isInitialized === true){
        console.log("desktop init should not be called when already desktop is init")
        return Promise.resolve();
      }else{
        if (context.applicationName!== undefined){
          return newJsonPromise('/context.applicationName', 'GET').then(function(response){
            dispatch({ type: "init", response: response});
          }).catch(function(err){
            dispatch({ type: "error", err: err});
          });
        }else{
          console.error("no application name given");
          return Promise.resolve();
        }
      }
    }
  }
}

from redux-thunk.

RexGalilae avatar RexGalilae commented on September 7, 2024

@damienleroux Could you please elaborate on what you meant by "badly declared"? I'm trying to solve this very same issue and have been pulling my hair for the last 15 minutes trying to figure this out.

from redux-thunk.

markerikson avatar markerikson commented on September 7, 2024

@RexGalilae :

The issue tracker here on GitHub is reserved for bug reports and feature requests. For usage questions (which is what I believe this is), please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!

from redux-thunk.

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.