Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Import fragments page #297

Merged
merged 5 commits into from
Oct 21, 2022
Merged

Import fragments page #297

merged 5 commits into from
Oct 21, 2022

Conversation

akindyakov
Copy link
Contributor

@akindyakov akindyakov commented Oct 21, 2022

@akindyakov akindyakov marked this pull request as ready for review October 21, 2022 08:34
Comment on lines +62 to +63
export * as truthsayer_archaeologist_communication from './truthsayer-archaeologist-communication/index'
export { TruthsayerBrowserHistoryImportWidget } from './truthsayer-archaeologist-communication/index'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the second export here on purpose? 🤔 The comment to the first one suggest that seemingly everything inside /truthsayer-archaeologist-communication should be accessed via an ugly name to remind a developer to be careful. Is TruthsayerBrowserHistoryImportWidget different?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is TruthsayerBrowserHistoryImportWidget different?

Yes, in theory, you are right - the export from above should do the full export, but it doesn't export react components. I didn't check deeper though, just used a quick hack to make it work

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch btw!

@akindyakov akindyakov merged commit 31a6b19 into main Oct 21, 2022
@akindyakov akindyakov deleted the import-fragments-page branch October 21, 2022 12:16
@SergNikitin SergNikitin mentioned this pull request Dec 10, 2022
8 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants