Skip to content

Comments

Refactor props, using Object.assign() to override default props.#10

Open
caesarsol wants to merge 1 commit intoregl-project:masterfrom
accurat:refactor
Open

Refactor props, using Object.assign() to override default props.#10
caesarsol wants to merge 1 commit intoregl-project:masterfrom
accurat:refactor

Conversation

@caesarsol
Copy link

This makes it easier to express defaults in a single point.

What do you think?

This makes it easier to express default values in a single point.
@rreusser
Copy link
Member

👍

This looks good to me! Easier to read. Thanks for making a PR! I haven't checked directly, but the behavior is otherwise unchanged, right?

@caesarsol
Copy link
Author

Thanks! Yes, the behavior is completely unchanged.

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.

2 participants