microsoft / microsoft/react-native-windows-samples
question about ReactPackageProvider.idl for creating a native UI module
@stmoy is already working on this.
Since Oct 12, 2020.
- Dominant language
- C#
- Stars
- 544
- Forks
- 218
- PR merge metrics
- No merged PRs in 30d
Description
When following the Sample ViewManager (C++) part of this tutorial
https://microsoft.github.io/react-native-windows/docs/view-managers
I just want to create the native view using visual c++ and the first line in the ViewManager(C++) tutorial says
For this sample, assume we already have the CustomUserControl defined in the C# example.
How can I create a native C++ view for use only within my existing react native project and not to create an entire native module for use by other people.
It's also unclear to me if the example given in the tutorial is possible with no C# code which I was trying to avoid in favor of only C++.
The part of the tutorial where you are supposed to create ReactPackageProvider.idl seems like it would be only if I was making a module for use in multiple projects, which I'm not, so any clarification here would be greatly appreciated.
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.