Im currently writting a storybook ui library for react native. Im browsing various addons and am looking for suggestions for react-native addons.
Can anyone suggest anything that would intergrate with figma and help with creating documentation.
You can achieve this by adding the storybook-addon-designs library. Refer to Storybook-and-Figma for more information.
Related
I am new to react native and expo.
This is the module i am looking at: https://github.com/leesiongchan/react-native-esc-pos
I want to build an app that can print using bluetooth thermal printer. I am not sure if i should build it using react native or expo. Please advise me.
Thank you.
Expo has its own limitations and there are even some bugs there too, Its good for quick development as the documentation suggests the same that it is good to get you started with development within minutes without much hustle. In my opinion, React Native CLI is most of the time the best option even if you are new to react native development. Because of the following reasons
You will learn a lot as you will get your hands dirty in core react native app development.
You won't have to deal with expo limitations
You won't have to be dependent on expo tools
Any Library which requires linking or contains native modules will not work with the expo.
The library you mentioned uses many native modules and usually these type of libraries are not supported and that is the reason why they've built their own APIs and Native Components you can read this,
the developer has not mentioned Expo support anywhere on the docs but still You can open an issue on GitHub and ask the developer if it supports EXPO platform or not, or maybe instead of asking you can try the library yourself and you will find out if its working or not,
this is my situation:
new to react native
familiar with react.js for web
successfully ran the boilerplate from the react-native cli.
Can someone send me links to docs or articles discussing or explaining the files in the boilerplate?
Which files are safe to delete? I want to make a minimized build as possible and understand the whole ecosystem behind it.
I'm sure react native compiles with babel since it has jsx in it. But how?
I just don't understand yet how react native works. Thanks a lot guys.
I just started using React Native a few days ago and want to build my next iOS/Android app with it. However, I had a question (and I apologize in advance if this question is very basic).
If I am integrating my iOS and Android apps built with React Native, with an external service (like Salesforce for example), how do I go about using the native mobile SDKs they provide for iOS and Android? As in, what do I do to integrate those SDKs into my React Native app? Those SDKs are using native Objective-C and Java code, so how would I be able to use the JS code for React Native? I believe my understanding about this is skewed.
I looked at this link which goes into it, but it seemed very confusing and I had a bit of a hard time grasping the concept (again, I am very new to this - I've done a lot of web development, hence turning my attention to React Native, but I've done no mobile development whatsoever).
If someone could please explain how that works, and point me in the right direction where I can read and learn more, I would sincerely appreciate that!
Thank you!
Checkout out this talk on SalesForce mobile SDK for React native
Official SalesForce Docs - Read Here
Also this tutorial might help you. http://rajaraodv.github.io/salesforce-react-native-tutorial/
Update:
There are react native packages build by open react native community if you couldn't find anything to access native iOS or android functionality you will have to write react native wrapper yourself using react native "Native Modules"
Native Modules
I have some API of maps (2GIS). Maps on JS. How can I connect them to my app on react-native?
I tried to find some possible ways, but without result. I am a newbie on react-native
If you want to use a native component that nobody wrote a React Native component for, you will to do it yourself.
It's not very hard for most things. You can learn how to do it for iOS and Android in the linked docs.
ReactNativeART examples are available across web (eg. http://browniefed.com/blog/2015/11/07/react-native-how-to-create-twitter-exploding-hearts/) but not in react native docs and source code has references. (https://github.com/facebook/react-native/tree/master/Libraries/ART)
Is it available for ios and android and if so why isn't documented yet on react native documentation page?
The ART module has been published and all apis seems to be stable,we have already use it in our project and it preforms well.
Facebook has split react-native and react-dom form react for native and web platform,they share same addons and implements.the ART module is a react-native implement of react-art,so we have to find documentation in react-art project.While react-art is a library based on sebmarkbage/art.this issue may be helpful.