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

Default getOptions to return {} #164

Closed
wants to merge 1 commit into from
Closed

Conversation

sliftist
Copy link

Default getOptions to return {}, that way loaders don't break when the loader options are removed. For example, if the loader changes from "example-loader?setFlag" to "example-loader".

Without this change every single user of getOptions will almost certainly want to default getOptions to null manually.

Default getOptions to return {}, that way loaders don't break when the loader options are removed. For example, if the loader changes from "example-loader?setFlag" to "example-loader".

Without this change every single user of getOptions will almost certainly want to default getOptions to null manually.
@jsf-clabot
Copy link

jsf-clabot commented Feb 22, 2020

CLA assistant check
All committers have signed the CLA.

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