what if you replicate some of the native components from react-native, such as text, buttons, and inputs? It will demonstrate how to forward values and callbacks
Yeah that one idea. Also I was thinking of something more interesting maybe a simple time picker? I am not sure I'll see. Also I am not very familiar with the Android dev when it comes to UI, so I will have to see
Thank you! That's so cool, bro, it will be perfect if you can give us a real example with a module that is really necessary to use the turbo module. e.g: custom Dynamic Island or handle Kits
@@ramielwan48 hi thanks for reply, But I wrote everything in objc in react library. my spm was completely in swift, I tried to import it in objc files in reactnative library. but my spm not able to create libs , it didn't have .xcodeproj file in it so, let me know if you have some solution on it, I don't even have a clue what I am doing in it. :)
While generaing example i got this error did not find any solution outside. anyone who faced this? ⠋ Generating example app error: unknown option '--npm' (Did you mean --pm?) node_modules/create-react-native-library/lib/utils/spawn.js:27 reject(new Error(stderr.trim()));
Tremendous value out of the gate. Thanks for this.
Very welcome!
appreciate your content!
Appreciate your comment!
liked and subscribed! thanks Rami
You're very welcome Mo 🙏
thank you for such a nice explanation! It would be nice if you made a video about how to use new fabric components
I was thinking of doing something like that. Let me see if I can come up with a good example
what if you replicate some of the native components from react-native, such as text, buttons, and inputs? It will demonstrate how to forward values and callbacks
Yeah that one idea. Also I was thinking of something more interesting maybe a simple time picker? I am not sure I'll see. Also I am not very familiar with the Android dev when it comes to UI, so I will have to see
Cool knowledge
Thank you!!
Thank you! That's so cool, bro, it will be perfect if you can give us a real example with a module that is really necessary to use the turbo module. e.g: custom Dynamic Island or handle Kits
Thanks for the idea!
Is it possible to write turbo modules using swift instead of objective-c??
Yes. I am planning to make a video about it!
@@ramielwan48 thank you! I will wait it
What if I want to add my own spm library and want to expose it to react. how can I do that.
As far as I know spm is not supported but you can add pods using the podspec file
@@ramielwan48 hi thanks for reply, But I wrote everything in objc in react library. my spm was completely in swift, I tried to import it in objc files in reactnative library. but my spm not able to create libs , it didn't have .xcodeproj file in it so, let me know if you have some solution on it, I don't even have a clue what I am doing in it. :)
Use VS code instead of neo vim(nvim) , so we can better understand the file levels,
Will give that a try
While generaing example i got this error did not find any solution outside. anyone who faced this?
⠋ Generating example app
error: unknown option '--npm'
(Did you mean --pm?)
node_modules/create-react-native-library/lib/utils/spawn.js:27
reject(new Error(stderr.trim()));
There was an issue with the create react native library package. Try again now