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

Avoid in-place mutation of the attributes of Router's children #169

Merged
merged 6 commits into from
Apr 9, 2017

Conversation

rmacklin
Copy link
Contributor

@rmacklin rmacklin commented Apr 7, 2017

Fixes #163

@@ -0,0 +1,12 @@
import { cloneElement } from 'preact';
Copy link
Contributor Author

@rmacklin rmacklin Apr 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put this file in a new test_helpers directory, because it's not a test itself, but it's imported by some of the tests. If you'd prefer it live within the test directory, or a subdirectory inside test (e.g. test/helpers), I'd be happy to move it there. We'll just need to modify files: ['test/**/*.js'] in the karma config to exclude this if we move it inside test.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with how you laid it out :)

@@ -0,0 +1,12 @@
import { cloneElement } from 'preact';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with how you laid it out :)

@developit developit merged commit d2893d7 into preactjs:master Apr 9, 2017
@developit developit mentioned this pull request Apr 9, 2017
@rmacklin rmacklin deleted the fix-issue-163 branch April 9, 2017 18:55
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