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

Load image data in the OneImage component #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benpbenp
Copy link
Collaborator

No description provided.

@benpbenp benpbenp force-pushed the 32-load-images-in-one-image branch from 79de8b7 to 25ddb9d Compare March 10, 2018 18:21
@benpbenp benpbenp force-pushed the 32-load-images-in-one-image branch from 25ddb9d to 90ad755 Compare March 10, 2018 18:27
@benpbenp
Copy link
Collaborator Author

#32

<div className="container">
<ImageWall images={this.state.imageFeed.map(imageData => imageData.image)} />
<ImageWall imageInfos={this.state.index.images} show={this.state.tab=='my'}/>
<ImageWall imageInfos={this.state.imageFeed} show={this.state.tab=='friends'}/>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for this change is so that the images don't have to be reloaded every time you switch the tabl

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

Successfully merging this pull request may close these issues.

1 participant