How receive react-native props in swiftui - react-native

Background
Native export some components and want to use in react native with some props. How to receive react native props in swift ui?
Try
Seems RCT_EXPORT_VIEW_PROPERTY not working
Don't know how to use other macro. There are no detailed tutorial.
Read the article react native meets swift ui, but it's example has some problems, Article here, actually don't know how to deal with other type.

Related

How to create a custom listview like this with react native?

I am new to React Native development. I tried to recreate the below listview with react native and It failed. I just want to know if we can recreate below UI design with react native or the name of this listview type.
Thank You.
Yes, you can recreate such component in react-native, however, it would be too complex to discuss it here. You can look into react-native-snap-carousel, which is the closest open-source library to your case that comes to mind.

Preferred React Native navigation library

I'm looking for a navigation library for a new React Native project. I've read information on this 3 main libraries:
react-native-router-flux
react-native-navigation
"Standard" react native navigation system
I have read that the "standard" system is very buggy, is it true?
What is your favorite navigation library to date?
The most used navigation library for react is react-navigation as it is kind of simple to use, has a lot of features and can be customise at will.
react-native-router-flux is a wrapper over react-navigation, it is really simple to use and allows you to write a lot less code than with react-navigation, however if you want to implement complex features it might not be the best choice.
react-native-navigation aims to do the same things as react-navigation but... misses the point, as it clearly lakes some complex features that react-navigation has.
I suggest you to read https://medium.com/#ian.mundy/choosing-a-routing-library-for-react-native-604f97e58729 if you can, although that article is from 2017 it is still relevant !
You should give the Navigation router a try. It provides 100% native navigation on iOS and Android. It isn’t like React Native Navigation because it doesn’t require any native setup and has a JavaScript array representation of the native stack of screens.

React native navigation which is the best solution

Which navigation is best to use in react native with redux
react navigation
react native navigation
react native router flux
Is here anything best rather than this ?
I would go with react navigation for redux. It is pretty easy, there is a good number of tutorials as well as their documentation I would say is pretty clear: https://reactnavigation.org/docs/en/redux-integration.html
You should give the Navigation router a try. It provides 100% native navigation on iOS and Android. It doesn’t require you to do anything special to integrate with Redux. Wrap the top level component in a Redux Provider component and away you go. I’ve written a Redux example to get you started
React-Navigation itself answers your question here

Using Konovajs with react-native

How can I use konvajs library with react native. If not, is there any other library which allows defining canvas object declaratively for react native?
React native doesn't use an html5 view, it render native code so you wouldn't be able to use konvasjs, take a look at react-native-canvas, and see if it fits what you need.

React native for android

Can I use react native as a backend in Android
I want to use all the UI components from Android only but for the logic part I want to call react native and do the backend there
Is it possible ?
Let me summarize your question to see if I got it right: You would like to use Native UI Components in Android and compose/utilize them using React Native.
If so the answer is yes. React Native does nothing else under the hood, they try to map as directly as possible to the native UI concepts. If this is still too much JS UI layer for you, you can directly implement the Native UI Components you need and bridge them into React Native, as to be seen here.
As React native is doing for us to convert and other component in native android component. If you don't want to use this react native component code then you have to create native android module in react native to use native component. But it's not advisable.