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

Window component should handle props update #68

Open
christopher-johnson opened this issue Dec 1, 2018 · 0 comments
Open

Window component should handle props update #68

christopher-johnson opened this issue Dec 1, 2018 · 0 comments

Comments

@christopher-johnson
Copy link
Contributor

there is an issue if a manifest is rendered by window and then the same manifest is loaded in the form that results in a "Cannot read property 'getLabel' of undefined error" in Window.render(). Window will not remount in this case, so the component should expect a props update and re-instantiate the viewer instance (and do a refetch for tiles, etc.) when the required manifest prop has been re-propagated from store. This can be done within ComponentDidUpdate.

christopher-johnson added a commit to ubleipzig/research-and-demos that referenced this issue Dec 1, 2018
handles prop updates in Window
replaces binds with arrow functions
excludes console in eslint
adds build to .gitignore
adds lerna.json
christopher-johnson added a commit to ubleipzig/research-and-demos that referenced this issue Dec 1, 2018
closes ProjectMirador#66
adds ejected create react app configuration to app
moves tests to subdirectories of components
linting changes
closes ProjectMirador#68
handles prop updates in Window
replaces binds with arrow functions
excludes console in eslint
adds build to .gitignore
adds lerna.json
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

1 participant