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

Add Preact 10 integration instructions #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rawrmonstar
Copy link

Preact 10 has had a breaking change such that the instructions to integrate obj-str into preact no longer work. I've added the slightly altered instructions for integration with Preact 10.

@rawrmonstar rawrmonstar changed the title Add Preact X10integration instructions Add Preact 10 integration instructions Jul 13, 2019
@lukeed
Copy link
Owner

lukeed commented Jul 13, 2019

Hey, thanks!

I'm not sure if this is needed though? I don't think Preact 10 has non-object props ever. How are you seeing this?

@rawrmonstar
Copy link
Author

Here is a sandbox: https://codesandbox.io/s/brave-euclid-kpx2l. It does look like props is a string for text nodes, I also noticed the props are now props, not attributes

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.

2 participants