Skip to content

Conversation

@hannojg
Copy link
Member

@hannojg hannojg commented Jan 21, 2025

Seems like a lot of the RNSkia APIs were broken. Discussing how to proceed.

@hannojg
Copy link
Member Author

hannojg commented Jan 21, 2025

I think I have to convert this to a SkiaDomNode,

example here:

https://github.com/Shopify/react-native-skia/blob/02d3e1343f9b3d9f2baf6218e0a8f6b10b6fefc8/packages/skia/cpp/rnskia/dom/nodes/JsiRectNode.h

And then the SkiaDomAPI has basically ctor function which create HostObjects of these nodes. I guess thats enough to create a new node however I am not sure about the react-reconciler part. That might need to be informed about our new node …

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