r/reactnative • • Mar 28 '20

Routing + Native Navigation

256 Upvotes

31 comments sorted by

23

u/andyboythekid Mar 28 '20

I've been working on adding native navigation (RNScreens) to a routing library I've been building for RN. It performs a lot better on Android with native components and I'm pretty excited to start putting it to use

2

u/UIengineer3 Mar 28 '20

Can you share the github link?

17

u/andyboythekid Mar 28 '20

hey there - heres the demo app if youre curious: https://github.com/ajsmth/spotify-clone

the library itself is here: https://github.com/ajsmth/earhart

3

u/tomthedevguy Mar 28 '20

How’d you do the bottom drawer?

1

u/andyboythekid Mar 28 '20

it's the react-native-screens modal presentation option

1

u/upkeys Mar 28 '20

Yes I noticed that, too.

2

u/bulby97 Mar 28 '20

How do you find using tailwind for react native?

1

u/andyboythekid Mar 28 '20

it's amazing. i got hooked on tailwind about a month before `tailwind-rn` came out, i can't say enough good things about it

2

u/drink_with_me_to_day Mar 28 '20

Is linking required?

3

u/andyboythekid Mar 28 '20

if you mean linking the native libraries then yes

1

u/Slapbox Mar 28 '20

Noooooo! Expo devs plz halp!

But seriously, darn.

1

u/andyboythekid Mar 28 '20

i'm fairly certain the libraries that require linking are already in expo!

8

u/bto1913 Mar 28 '20

Good job. Seems pretty fluid.

2

u/cupant Mar 28 '20

What makes it different with rnn by wix and rn screens by kmagiera

1

u/andyboythekid Mar 28 '20

its a router

5

u/darkmoody Mar 28 '20 edited Apr 23 '20

Looks great. So smooth 👌 I've been putting together this list of app clones, I'll add yours too.

1

u/Malforked Mar 28 '20

if the plan is to also support the web it might actually go viral, i like the simplicity of it and how is closer to modern react and mobile

1

u/andyboythekid Mar 28 '20

most of the hard stuff is done by RNScreens and gesture-handler, if those have a web interface then it should work for web as well

1

u/PROLIMIT Mar 29 '20

That looks really smooth. I happen to be working on a Spotify lite clone using react native too but with the aim of replicating the original app for practice. Your navigation looks amazing tho

1

u/andyboythekid Mar 29 '20

thats awesome, its such a good resource for different ui patterns! lots of cool stuff in there.

1

u/kyle-ssg Mar 29 '20

This looks legit! I'm looking to potentially move away from react-native-navigation, going to look through this having been reading about react-native-screens. Definitely up for contributing to this if it works well.

1

u/andyboythekid Mar 29 '20

sweet! hope it works out for you

3

u/elietoubi Mar 28 '20

Awesome job! Looks great!

1

u/vertigo_101 Mar 28 '20

Is this opensource? Looks great

1

u/andyboythekid Mar 28 '20

yup -- i posted a link in one of the comments above

2

u/sadez2001 Mar 28 '20

How you do you do for the gesture swipe down to goback ? Great job

1

u/qadratic Mar 28 '20

Looks a lot like jio saavn

1

u/gourangan Mar 28 '20

Looks smooth. What's the deal with that woman's eyebrows?

4

u/stathisntonas Mar 28 '20

It’s just an <Image style={{eyebrowsWeight:5000}} /> nothing special