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

image props change #5

Closed
wants to merge 1 commit into from
Closed

image props change #5

wants to merge 1 commit into from

Conversation

bilguun
Copy link

@bilguun bilguun commented Sep 25, 2018

Now Image can be changed dynamically from other components.
didn't take account of drawing the boxes, and selecting the boxes. Maybe it's better to set boxes, image props as state.

Shouldn't be like this?
I'm dynamically changing the image src, but img doesn't get changed.

I set    `background.src = nextProps.image;` in componentWillReceiveProps method. still no luck
@bilguun bilguun closed this Sep 25, 2018
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.

None yet

1 participant