You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'includes' of undefined
at includes (./universal/modules/outcomeCard/components/GitHubRepoListMenu/GitHubRepoListMenu.js:36:68)
at Array.filter (<anonymous>)
at filter (./universal/modules/outcomeCard/components/GitHubRepoListMenu/GitHubRepoListMenu.js:36:38)
at filterRepos (./universal/modules/outcomeCard/components/GitHubRepoListMenu/GitHubRepoListMenu.js:29:11)
at componentWillReceiveProps (../node_modules/react-dom/lib/ReactCompositeComponent.js:613)
...
(28 additional frame(s) were not displayed)
The text was updated successfully, but these errors were encountered:
oh this is a fun one. i can't reproduce it following those steps, but i can reproduce it as follows:
go to team dash
click the octocat
go to team settings > integrations > github
add a repo
it happens because the octocat button on the card cares about userIds, but when you add a repo, it only cares about teamMembers. userIds is a field that is sent lazily.
GitHubRepoListMenu is getting mounted immediately after the portal closes & it gets unmounted. maybe it has something to do with the animation? really kinda fascinating that a component can be mounted n react but unmounted in the DOM... this'll be interesting to figure out why...
oh this was a good one.
apparently unmountComponentAtNode can trigger a rerender up the react tree, and if the portal rerenders itself, then it can reopen a portal because we haven't gotten rid of this.node yet.
kinda surprised this happens in sync, i thought that rendering would be async. it'll be interesting to see how react 16 handles this.
https://sentry.io/parabol/action-production/issues/331524599/
The text was updated successfully, but these errors were encountered: