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

Without lodash #37

Merged
merged 6 commits into from
Jan 10, 2016
Merged

Without lodash #37

merged 6 commits into from
Jan 10, 2016

Conversation

pekeler
Copy link
Contributor

@pekeler pekeler commented Jan 8, 2016

replaced lodash.omit with own implementation to reduce total file size

},
"peerDependencies": {
"react": "^0.12.0 || ^0.13.0 || ^0.14.0"
"react": "^0.14.0"
Copy link
Owner

Choose a reason for hiding this comment

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

why remove support for 0.12?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The sample code React.renderComponent doesn't work with 0.14. Since 0.14 has been out for 3 months, I thoughts it's most pragmatic to drop these old versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Creating sample code that works with all versions would just confuse more than being helpful.

Copy link
Owner

Choose a reason for hiding this comment

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

@pekeler The sample code is for the latest version, but that doesn't mean you have to drop support for old versions and break people's existing installs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Somebody with react 0.12 might try the sample and conclude that everything's broken. I'd increase the version of react-responsive instead. I'll make a another PW if you prefer the old way.

@@ -5,7 +5,9 @@
<link rel='stylesheet' type='text/css' href='sample.css'>
</head>
<body>
If you see this then something is wrong.
<div id="main">
If you see this then something is wrongly.
Copy link
Owner

Choose a reason for hiding this comment

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

can you fix this in this PR? otherwise when I merge this it's going to end up in the file

@pekeler
Copy link
Contributor Author

pekeler commented Jan 10, 2016

better?

yocontra pushed a commit that referenced this pull request Jan 10, 2016
@yocontra yocontra merged commit 89e6d40 into yocontra:master Jan 10, 2016
@yocontra
Copy link
Owner

Published as 1.1.0 - thanks

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