Skip to content

fix(Table): fix dual-imports between files#378

Merged
jeff-phillips-18 merged 1 commit into
patternfly:masterfrom
sharvit:fix/table-importing
Jun 1, 2018
Merged

fix(Table): fix dual-imports between files#378
jeff-phillips-18 merged 1 commit into
patternfly:masterfrom
sharvit:fix/table-importing

Conversation

@sharvit

@sharvit sharvit commented Jun 1, 2018

Copy link
Copy Markdown
Contributor

affects: patternfly-react

What:
The index.js importing files that importing the index.js itself.
I don't think it's a good idea to do so and it may be dangerous.

Foreman nightlies assets are broken at the moment, we are not sure why but I got some confidence it is related to the dual-importing issue.
https://community.theforeman.org/t/nightlies-assets-are-now-broken/9810

Link to Storybook:
https://rawgit.com/sharvit/patternfly-react/storybook/fix/table-importing/index.html?selectedKind=patternfly-react%2FContent%20Views%2FTable%20View&selectedStory=PatternFly%20Table%20Styles&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybooks%2Fstorybook-addon-knobs

@sharvit sharvit requested a review from priley86 June 1, 2018 06:36
@priley86

priley86 commented Jun 1, 2018

Copy link
Copy Markdown
Member

@sharvit thanks - i didn't experience this downstream in v2v (not sure why), but i take your word for it. I think this is a better approach. This should be no impact if you are using Table.* reference downstream.

@priley86 priley86 requested a review from jeff-phillips-18 June 1, 2018 17:59
@jeff-phillips-18 jeff-phillips-18 merged commit 79cf87a into patternfly:master Jun 1, 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.

3 participants