Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ant Design for react native truly native components?

I am building a application using react native and am wanting to keep the components as native as possible. Ant Design looks really good but i am worried that the components are not native and just web components? They state "Right now we include 47 web components and 40 native components."

Basically my question is has any one worked with this library ? What was the performance like with these designs?

Thanks in advance

like image 389
tygar Avatar asked Jan 21 '18 07:01

tygar


1 Answers

You have to understand that right now there are 3 versions of ant-design

  • antd: Which is for web projects.
  • antd-mobile: Which is for web mobile projects.
  • antd-mobile-rn: Which is for native mobile projects.

And you should also check out Marc Lore answer of How does react native work question http://qr.ae/TUIrTu.

With that in mind right now as far as I now there are a lot of Framework UIs for react native, but none of them are truly NATIVE, those are just components that would run on the Javascript Thread, but don't underestimate them, because they are very fast, and customizable; The only native solutions for react-native are some Calendars, Popups, and Navigators.

Ant design it's very awesome, and there are a lot of people backing the project up so it's an active project, I've been working on some private projects for the company I work for, using ant-design, and we haven't had any performance issues, take into account that performance it's also measured for a lot of factors, like if you are using too much observables (redux and rxjs/sagas), overenginnering the layouts, available RAM on the device etc.

A little late for an answer but I hope you give it a chance :D.

Note: I'll keep updating this answer when I find some TRULY NATIVE components for react-native.

like image 174
David Noreña Avatar answered Oct 05 '22 18:10

David Noreña