Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Between NativeBase and Shoutem, which is best to use for React Native?

I find that there are 2 UI components for React Native which are mostly used. I want to use one of them. Which one of them is more easy to use and customizable ?

like image 623
Kais Avatar asked Nov 30 '16 13:11

Kais


People also ask

Is Native base GOOD FOR react native?

Recommended by Awesome React Native NativeBase was added to the list of Frameworks of Awesome React Native and it is used by numerous React lovers across the world.

What is NativeBase provider?

Setup NativeBase Provider. NativeBaseProvider is a component that makes the theme available throughout your app. It uses React's Context API. Add NativeBaseProvider to the root of your app and update App.js as follows: App.js.

Why use Native Base?

NativeBase is an open-source UI library that makes it easy to build universal design systems. NativeBase was built for react native and is supported in Expo, Web, and React Native CLI initiated apps. NativeBase has UI components like Button, Image, Alert, Progress, Spinner, Card, and more built into it.

What is React Native used for?

Using NativeBase with React Native August 6, 2020 5 min read 1614 React Native is a framework for building cross-platform, native apps using JavaScript and React. React Native uses JSX and a component-based UI system just like React, but instead of DOM components, React Native uses native components to create native UI elements.

What is nativebase?

What is NativeBase? Experience the awesomeness of React Native without the pain. NativeBase is a free and open source framework that enables developers to build high-quality mobile apps using React Native iOS and Android apps with a fusion of ES6.

What is the difference between React Native and flutter?

Moreover, React Native, much like React, is an unopinionated framework that covers minimal functionality out-of-the-box. This means that most functionalities would have to be relied on third-party libraries or developers would have to write their own native code. Flutter, on the other hand, is a much newer framework developed by Google.

What is logrocket in React Native?

LogRocket: Instantly recreate issues in your React Native apps. LogRocket is a React Native monitoring solution that helps you reproduce issues instantly, prioritize bugs, and understand performance in your React Native apps.


Video Answer


2 Answers

Currently, there are 3 main UI libraries:

  • Shoutem UI Components
  • React Native Elements
  • Native Base components

Shoutem UI components are actually only one part of Shoutem UI Toolkit, which includes:

  • UI components - customizable set of components for RN applications
  • Theme - style your RN components on one place
  • Animation - set of declarative animations

UI components come with the predefined beautiful design, so creating good looking applications is as easy as simply c/p-ing the component's code. However, they can be fully customized with a theme from one place, so you can achieve the separation of concerns for your components. Animations can be used in similar matter, too.

To see which kind of UI components are there, include <Examples> components in your screen, as described here.

React Native Elements simplify the usage of common components in React Native. Native Base does that too, allows you to customize them and has a better documentation than React Native Elements.

Disclaimer: I work at Shoutem

like image 97
Tommz Avatar answered Oct 16 '22 23:10

Tommz


All the above three libraries are good and serve their own purposes. It totally depends once after you use all of these.

NativeBase is a mobile application development framework; builds a layer on top of React Native that provides you with basic set of components for mobile application development which helps you to develop world-class application experiences on native platforms.

NativeBase gives you the potential of building applications that run on iOS and Android using a single codebase. It eases out your development.

Since NativeBase is built on top of React Native, hence with any component you can pass the style property which will be merged to the default style of that component. This also goes with the callback events. Highly customizable with the theme from one place.

All this is neatly documented by NativeBase. Docs of NativeBase gives you complete information about its usage with sample output, its replacing React Native element, how to style each component, how to customize theme for each component, many more.

Also that NativeBase is being rewritten to enhance its ease of use. To be released very soon.

Go ahead and try NativeBase!

Checkout the working demonstration of NativeBase components in one single kit NativeBase-KitchenSink.

Disclaimer: I work at NativeBase

like image 30
Supriya Kalghatgi Avatar answered Oct 16 '22 22:10

Supriya Kalghatgi