Giter Club home page Giter Club logo

typescript-redux's People

Contributors

mythz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

typescript-redux's Issues

Nuget: Unable to find ServiceStack.

First things first. This is one awesome tutorial! Very nice to see a Typescript/React/Redux tutorial so well laid out.

Just noticed the VS project has the packages at 4.0.53, but Nuget still a version behind at 4.0.52

I however was able to jump right into the TypeScriptRedux directory and use it with Visual Studio Code. I used Puer (npm package, supports live reloading) to quickly launch in browser and start playing. Impressive!!!

No need for reduxify

React-redux connect can be used as a decorator, e.g:

@connect(
  (state) => ({ name: state.name }),
  (dispatch) => ({})
)
export class TextField extends React.Component<any, any> {
  render() {
    const { name } = this.props;
    return <div>Hello, {name}!</div>;
  }
}

There is no need to create another wrapper.

Broken on IE/Edge

I've been looking around for tutorials on React and Typescript, and this is just great. Thanks for creating it.

Working through the exercises I found that they only work in Chrome. IE11 or Edge render a blank page from here: http://redux.servicestack.net/

Working through the tutorial, I ran into IE11 "Object.assign is undefined". Something seems off with the ES6 shim, maybe that's a clue but so far I could not fix it.

Added ```width``` and ```height``` defaults and ```'COUNTER_CHANGE'``` action

Thanks so much for making this. It's really helping to pull things together for me.

An area where things broke down for me was Example 7. The initial state in the create store was undefined so when setting the state state[action.field] was NAN. Also, the COUNTER_CHANGE action is missing at that point.
I set the initial state to be {counter: 0, width: 0, height: 0} and pulled the COUNTER_CHANGE action from lower in the document

Feedback - Excellent Sample!

Great to see an in-depth React/Redux example that uses Typescript and VS2015 - I've been porting ES6 versions so far.

Also - an interesting introduction to JSPM for me.

One minor blip I encountered (in case anyone else sees similar) was that JSPM on the Windows CMD line decided I did not have Git. I messed with the PATH - still no joy.

When I tried the Git Bash shell instead (installed with Git Desktop for Windows), JSPM started working smoothly.

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.