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

Remove redundant lodash core dependency to reduce bundle bloat. #15

Merged
merged 1 commit into from Nov 14, 2016

Conversation

mikeproeng37
Copy link
Contributor

@optimizely/fullstack-devs

Copy link
Contributor

@haleybash-optimizely haleybash-optimizely left a comment

Choose a reason for hiding this comment

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

lgtm!

@mikeproeng37 mikeproeng37 merged commit 79fc92e into devel Nov 14, 2016
@mikeproeng37 mikeproeng37 deleted the mng/remove-redundant-lodash-core branch November 14, 2016 22:56
mjc1283 added a commit that referenced this pull request Apr 22, 2019
…ager options, and stopping datafile manager (#15)

Summary:

- Refactor project config management into a ProjectConfigManager class, which uses DatafileManager internally
- Update Optimizely to get project config by calling projectConfigManager.getConfig() instead of keeping its own reference to a project config object
- Pass through datafileOptions to project config manager (allowing use of autoUpdate and updateInterval)
- Add notification center event for new project config
- Add an update listener to datafile manager that sends project config update notification
- Call this.datafileManager.stop in close method
- Add default timeout to onReady method
- Update behavior of onReady to reject early when datafile manager emits invalid datafile


Test plan:

Unit tests

Issues:

https://optimizely.atlassian.net/browse/OASIS-4385
https://optimizely.atlassian.net/browse/OASIS-4386
https://optimizely.atlassian.net/browse/OASIS-4387
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.

None yet

2 participants