lvarayut/relay-fullstack

Show more function in the Feature list

ngocdiep opened this issue · 3 comments

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

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.

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,

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.