Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make compatiable with React 0.14.0 #18

Open
rxtphan opened this issue Jul 21, 2015 · 4 comments
Open

Make compatiable with React 0.14.0 #18

rxtphan opened this issue Jul 21, 2015 · 4 comments

Comments

@rxtphan
Copy link

rxtphan commented Jul 21, 2015

Any plans for this in the near future?

@nmn
Copy link
Owner

nmn commented Jul 21, 2015

I'm just starting to look at React 0.14. So i'll make it work with that in the near future. But It'll probably be the v2 of the library. I'll keep this issue open and keep it updated.

@teripaquitinho
Copy link

any news on this ?

@nmn
Copy link
Owner

nmn commented Oct 27, 2015

I've started work on this, but been extremely busy these last couple of months. Hopefully, I'll have a basic version working by the weekend. Any code that uses it that I could use for testing would be quite helpful.

@teripaquitinho
Copy link

Hi... sorry been pretty busy too... first of all, I'm pretty new to react, but from my understanding this is what I would do if using react-infinity

Let's say I have a dashboard page similar to the https://scribbler.co/ . All data here are in a prop named articles . What I would expect to do is to use the Infinite component to pass the articleTiles with the data already passed along ... does this make sense?

render() {
  const articleNodes = this.props.articles.map((articleData, i) => {
    return (
       <div className="articleCard" key={i}>
         <articleTile article={articleData} />
      </div>
    );
  });

  return (
    <Infinite data={articleNodes}
      elementWidth="220"
      elementHeight="300"
      margin="100" 
    />
  );
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants