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 constants #18

Merged
merged 2 commits into from
Feb 20, 2019
Merged

Remove constants #18

merged 2 commits into from
Feb 20, 2019

Conversation

pshrmn
Copy link
Owner

@pshrmn pshrmn commented Feb 20, 2019

I liked the idea of exporting the nav type constants more than the results. There isn't a great benefit from exporting these, especially when the union types where they are used can point out incorrect values.

I am keeping the named exports for the history creating functions. I prefer non-default exports and this allows for more easily adding other exports in the future.

@pshrmn pshrmn merged commit 9e6659d into master Feb 20, 2019
@pshrmn pshrmn deleted the remove-constants branch February 20, 2019 19:51
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.

1 participant