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

Passing through more React exports #27

Merged
merged 1 commit into from
Apr 23, 2018
Merged

Conversation

polytypic
Copy link
Member

@polytypic polytypic commented Apr 22, 2018

Pass through more React exports.

I would like to avoid passing through exports that don't work. For example cloneElement is such an export and would need a replacement to work with elements that may have observable properties. See #6. I'm not opposed to supporting it in Karet, but I've never used it myself and I don't have infinite time...

  • What about Children? Does it work well enough when children may contain observables? Should functions in Children be lifted?

The primary goal is to pass through enough React exports that one almost never needs to import React. Is this enough?

@codecov-io
Copy link

codecov-io commented Apr 22, 2018

Codecov Report

Merging #27 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #27   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         145    148    +3     
=====================================
+ Hits          145    148    +3
Impacted Files Coverage Δ
dist/karet.cjs.js 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f649cde...298d7f4. Read the comment docs.

@polytypic polytypic force-pushed the feature/react-pass-through branch 8 times, most recently from b91fd26 to c596ed2 Compare April 23, 2018 06:20
@polytypic polytypic merged commit 81ff7fa into master Apr 23, 2018
@polytypic polytypic deleted the feature/react-pass-through branch April 23, 2018 07:59
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