lvarayut / relay-fullstack

:point_up::running: Modern Relay Starter Kit - Integrated with Relay, GraphQL, Express, ES6/ES7, JSX, Webpack, Babel, Material Design Lite, and PostCSS
https://lvarayut.github.io/relay-fullstack/
MIT License
985 stars 126 forks source link

Show more function in the Feature list #59

Closed ngocdiep closed 7 years ago

ngocdiep commented 7 years ago

Hi there, I'm the beginner in Relayjs. I just wanna add the show more function in the Feature list. I tried to add the function like this:

    this.props.relay.setVariables({
      count: $count + 2
    });

but I got the error: TypeError: Cannot read property 'features' of null

Somebody can help me!!

Best regards

lvarayut commented 7 years ago

Hi @ngocdiep, thanks for the question. The error might occur here. I'm not sure why this.props.viewer is null. You might want to start checking from there.

ngocdiep commented 7 years ago

Hi @lvarayut, Thanks for your answer! I haven't found the solution yet to fix that. It's very great if you can add some functions like search, paging or load more to this project!

Best thanks,

lvarayut commented 7 years ago

Hi @ngocdiep, thanks for your suggestion. I will need to focus on the main functionalities listed on #12 first, but any PR would be really welcomed. I'm going to close this issue for now. Please feel free to continue the discussion here if you had more question.