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

Removed component initialization and started importing intl from library. #651

Merged
merged 6 commits into from
Mar 30, 2020

Conversation

dusanradovanovic
Copy link
Contributor

Description:

This is the first part of a two part refactor. In this part I removed intl object from getConfig() and started importing it in components directly from library. getConfig() also now returns inlined epConfig object and does not require initialization anymore.

Linting:

  • No linting errors

Component Updates:

Tests:

  • E2E tests (npm test run with e2e)
  • Manual tests

Documentation:

  • Requires documentation updates

src/components/src/utils/ConfigProvider.ts Show resolved Hide resolved
src/App.tsx Outdated Show resolved Hide resolved
src/App.tsx Outdated Show resolved Hide resolved
@shaunmaharaj
Copy link
Contributor

Need to address conflict in PR

@aChanEP
Copy link
Contributor

aChanEP commented Mar 30, 2020

Need to address conflict in PR

addressed

@shaunmaharaj shaunmaharaj merged commit 10b0880 into master Mar 30, 2020
@shaunmaharaj shaunmaharaj deleted the import-intl branch March 30, 2020 22:08
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.

7 participants