Skip to content

Check if node has children before adding children arg #97

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

Closed
wants to merge 2 commits into from

Conversation

fnlctrl
Copy link
Member

@fnlctrl fnlctrl commented Oct 13, 2017

Before:
<Foo/> => h(Foo, null, [])

After:
<Foo/> => h(Foo, null)

Should give slightly better runtime performance.

Before:
`<Foo/>` => `h(Foo, null, [])`

After:
`<Foo/>` => `h(Foo, null)`

Should give slightly better runtime performance.
@whtsky
Copy link
Contributor

whtsky commented Nov 6, 2017

Personally, I hope #92 can be merged because it's test-included :)

@nickmessing nickmessing requested a review from yyx990803 November 6, 2017 09:17
@yyx990803
Copy link
Member

@whtsky thanks, I'll honor your PR since it was earlier and has a test case :)
@fnlctrl thanks for this PR regardless, hope you don't mind!

@yyx990803 yyx990803 closed this Nov 6, 2017
@fnlctrl fnlctrl deleted the prevent-empty-children-arr branch November 7, 2017 05: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.

4 participants