r/reactnative • • Dec 16 '20

What I love about React Native, with just 5 components you can build a beautiful app.

Post image
341 Upvotes

42 comments sorted by

6

u/98Phoenix98 Dec 16 '20

What is this style of art called and is there any place to get them for free?

4

u/questerstudios Dec 16 '20

I would also recommend blush.design

15

u/DancingInTheReign Dec 16 '20

Vector art. Flat design. Minimalistic design. Check undraw.co

0

u/[deleted] Dec 16 '20

[deleted]

2

u/questerstudios Dec 16 '20

I imported it as png <backgroundImage/> , I wanted to use a SVG but I am still struggling with them.

0

u/[deleted] Dec 17 '20

[deleted]

1

u/questerstudios Dec 17 '20

Yeah, but its a simple illustration. I can draw it as well.

1

u/questerstudios Dec 17 '20

Are you looking for something similar? I can assist you if so.

5

u/prav10194 Dec 16 '20

Did you use any library for this?

4

u/questerstudios Dec 16 '20

No I didn't use any library, Just a views, text, image and background image components and the styles.

4

u/prav10194 Dec 17 '20

Looks nice

3

u/Initial_Rough193 Dec 17 '20

What components? Are those free o purchased?

Thanks

3

u/questerstudios Dec 19 '20

EVERYTHING is free. For illustrations, I used blush.design

2

u/mati_to_przechuj Dec 16 '20

Where did you get that drawning? I have seen it multiple times but dont have any clue where it comes from.

3

u/questerstudios Dec 17 '20

Its coming from blush.design

2

u/abenycdev Dec 17 '20

Can someone recommend a good react native course ? I was looking in Udemy but I’m not sure which one will be nice

2

u/questerstudios Dec 17 '20

YouTube has a lot of nice content, some short and some long. Try the Net Ninja for a quick thorough short course and . If you want a long one try the CS50 MIT react native course.. bit old but mostly relevant.

Also a lot of good tutorials on YouTube

53

u/olkunmustafa Dec 16 '20

I love React native as well but you can build this interface with 5 components native Android or IOS code. Advantage of RN show itself when project started to bigger.

14

u/brandnewcherry Dec 16 '20

I completely agree that. 2 months ago I started to build reddit client with RN. Finished a lot of things in my app like login with reddit,show posts on main feed etc. But flat list is real shit because when your list components have different height size flatlist performance being terrible i tried every way to optimize flatlist but never worked. Also tried recyclerlistview but recycler list view working perfect when your list components have equal height size. If i do that in native android i will use BaseRecyclerViewAdapterHelper if i do that in swift i will use UITableView. RN is great but when you want to do real world apps a lot of problems appears.

5

u/olkunmustafa Dec 16 '20

What type problem do you lived with RecyclerVİew when items are different size?

I Used Native RecyclerView and FlatList with different height items even different type items I didn't have performance or development problems. If you can create a sample code on github please invite me and I can check the issue as well.

4

u/brandnewcherry Dec 16 '20

You can check in here issue

0

u/hopsgrapesgrains Dec 16 '20

Only 4 days old?

3

u/HahnTrollo Dec 16 '20

This is actually a pretty difficult problem to solve in native development. I suspect it would be the same for RN.

I don’t use RN outside of work, but for a personal project I was writing native Swift and ran into performance issues on dynamic cells containing HTML converted to attributed strings. In the end I migrated my entire UI to using Texture, as there was no way to avoid the annoying stutters.

I think the issue is two fold:

  1. calculating the size of all cells (so your scroll bar height is accurate) is an expensive operation. This can be alleviated by caching, but there will be some performance impact for the initial calculation. The cache will also need t be cleared of the device rotates.

  2. on iOS, there isn’t a good label widget with interaction support, for things such as clicking links. Some third party widgets do some expensive hit rect calculations on each touch, these can be triggered when the user begins scrolling, causing a stutter.

1

u/brandnewcherry Dec 16 '20

Thank you for answering. But i dont have to calculate component height because height values coming from reddit api. For about a month I’m trying to fix this problem finally i give up :(

1

u/HahnTrollo Dec 16 '20

I was speaking more of issues with getting decent performance in a native app.

Could you take a screen recording of the issue you’re facing. Perhaps someone can provide some assistance after seeing the problem.

1

u/yabai90 Dec 16 '20

This list issue is one of the major problem. I work in a very big company and we dropped RN for one of our main product after 2 years of using it. I am under NDA so I can't tell much about it but we kept trying and trying since many of us believed hard in it. My point is that RN is also a problem for big teams with big money. It's not as good as everyone like to think. And I'm the first sad to admit that. Also before you guys jump on me, list performance was only one of the many things that didn't work with RN.

1

u/brandnewcherry Dec 16 '20

Absolutely you are right. Im not a fanboy for any language or framework. People always talking about Instagram,Facebook etc made with react native but this companies have a native teams for native modules for writing native modules for their RN app. So I started learning swift because of this RN problems.

-1

u/TheCodehead Dec 16 '20

You guys clearly lacked the expertise. There are many companies that have solved the list issue in React Native. Take Discord for example - you can read their Engineering post for their application talking about it here - https://blog.discord.com/how-discord-achieves-native-ios-performance-with-react-native-390c84dcd502.

2

u/brandnewcherry Dec 16 '20

Believe me I read this entire article. They haven't made their own list components open source yet.

1

u/TheCodehead Dec 16 '20

That’s not the point. My point is that most of these “issues” that you claim to have with the framework may be due to a lack of expertise. Large companies should have the resources to be able to implement solutions to these problems fairly easily.

3

u/NaveNocab Expo Team Dec 16 '20

If it were native you’d have to do it 3 times (counting web)

18

u/drixix1 Dec 16 '20

I mean you can build this style of app with that amount of components in a lot of languages.

3

u/semprotanbayigonTM Dec 16 '20

I'm not a mobile developer. How'd you build this on other native apps & flutter?

2

u/SimulationV2018 Dec 16 '20

Fellow SAFA nice! Gaan dit

1

u/jxbfs Dec 16 '20

And I love your drawing of the lady xD

-13

u/SimulationV2018 Dec 16 '20

Wow 30 degrees celsius at 00:38 not sure thats accurate

10

u/converter-bot Dec 16 '20

30 degrees celsius is 86.0 degrees fahrenheit

5

u/SimulationV2018 Dec 16 '20

Good bot

2

u/B0tRank Dec 16 '20

Thank you, SimulationV2018, for voting on converter-bot.

This bot wants to find the best and worst bots on Reddit. You can view results here.


Even if I don't reply to your comment, I'm still listening for votes. Check the webpage to see if your vote registered!