Skip to content

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

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

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

Conversation

@caesarsol

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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.

3 participants