Skip to content

Conversation

@thebuilder
Copy link
Owner

This removes render, and changes children to only accept a function.

It'll still accept render but, throws a warning.

This removes `render`, and changes `children` to only accept a function
@coveralls
Copy link

coveralls commented Jun 25, 2018

Pull Request Test Coverage Report for Build 338

  • 9 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 94.706%

Totals Coverage Status
Change from base Build 326: 0.3%
Covered Lines: 83
Relevant Lines: 83

💛 - Coveralls

@thebuilder thebuilder mentioned this pull request Jun 25, 2018
@thebuilder thebuilder merged commit 05b6181 into master Jun 26, 2018
@thebuilder thebuilder deleted the next branch June 26, 2018 08:45
johnrackles pushed a commit to johnrackles/react-intersection-observer that referenced this pull request Feb 19, 2020
* refactor: rewrite the component

This removes `render`, and changes `children` to only accept a function

* refactor: accept plain children with deprecation warning

* test: test the deprecated methods

* test: reset NODE_ENV

* fix: spread props to the plain child

* style: apply prettier

* refactor: log the DOM node in deprecations
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