preact-compat icon indicating copy to clipboard operation
preact-compat copied to clipboard

Implement children keys and methods like react does

Open dignifiedquire opened this issue 7 years ago • 0 comments

~~Still work in progress,~~ this comes from issues I was having around libraries assuming how the children methods behave.

I ported all tests from https://github.com/facebook/react/blob/master/src/isomorphic/children/tests/ReactChildren-test.js that were relevant.

Things left to do

  • [x] Make all tests pass, currently 8 failing
  • [x] Cleanup code and simplify as much as possible

Update tests are passing, skipping iterable support for now

dignifiedquire avatar Jun 25 '17 19:06 dignifiedquire