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

Merge ceviche repo 🎉 #1302

Merged
merged 981 commits into from
Mar 4, 2019
Merged

Merge ceviche repo 🎉 #1302

merged 981 commits into from
Mar 4, 2019

Conversation

marvinhagemeister
Copy link
Member

@marvinhagemeister marvinhagemeister commented Mar 2, 2019

This PR merges the code from ceviche back into the public repo. ceviche is our codename for Preact X. An alpha release on npm will follow shortly on March 4th.

Todos:

  • Resolve Merge-Conflicts
  • Preserve git history of both projects
  • Verify changes with git diff ceviche..ceviche/master
  • Remove 8.x code that's been unaffected by the merge
  • Verify TS types, children type-checking seems to be broken.
  • Fix missing Text-Nodes in Children tests.
  • Fix missing code coverage in compat.

Note: The commit view here on GitHub doesn't show all commits. The most recent ones are missing for me in the web ui. They're all there when viewed locally via git.

marvinhagemeister and others added 30 commits January 31, 2019 11:08
Add support for `class.contextType`
Only track lastDomChild for Fragment-like VNodes (i.e. Fragments and Components that return Fragments)

Remove _wrapsFragment experiment
Temporarily disable the devtools tests as I broke them badly :/
Add support for nested createContext providers
From developit/diff-children-devtools
Copy link
Member

@andrewiggins andrewiggins left a comment

Choose a reason for hiding this comment

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

🎉

@thysultan
Copy link

Minor change 1 is going to prove hot on the wheels of browsers, at least in comparison to the current implementation, and when hooks land; considering inline-functions will become more common in that space. Is there any reason the previous route was ditched – 1 listener mount + a map of callbacks that are updated?

@marvinhagemeister
Copy link
Member Author

marvinhagemeister commented Mar 4, 2019

@thysultan The changelog isn't really up to date. Event listeners in ceviche work the same way as they do in current preact. That section was written before we implemented them there.

To avoid any further confusion I've removed the CHANGELOG.md.

@hassanbazzi hassanbazzi self-requested a review March 4, 2019 07:06
@hassanbazzi
Copy link
Member

So exciting!

@dyaa
Copy link

dyaa commented Mar 4, 2019

Merge time, and let the community celebrate? :shipit: 👯 🎉

@mochiya98
Copy link
Contributor

Why is not included "compat/*" in package.files?

@marvinhagemeister
Copy link
Member Author

marvinhagemeister commented Mar 4, 2019

@mochiya98 Good catch! Just pushed a commit that adds compat to the files section. Thanks again for spotting this 👍

@developit developit merged commit 0c104d9 into master Mar 4, 2019
@developit
Copy link
Member

aaaaand we're a go

@dyaa
Copy link

dyaa commented Mar 4, 2019

@developit dont forget the npm release 😉

@flppv
Copy link

flppv commented Mar 4, 2019

Great job! Waiting for updated docs and release notes 😊

@webdeb
Copy link

webdeb commented Mar 5, 2019

@marvinhagemeister 🎉

@marvinhagemeister marvinhagemeister mentioned this pull request Mar 5, 2019
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.