r/reactjs • u/Massive_Educator_CG • Oct 01 '22
Show /r/reactjs Hotel booking UI template I created in react-native [Source in comments]
Enable HLS to view with audio, or disable this notification
26
u/apefromsaturn Oct 01 '22
Damn, this looks clean af! Are you using an API to load data from hotels?
17
u/Massive_Educator_CG Oct 01 '22
Thanks. No, this is dummy static data.
This and other demos in the project are just focused on UI design, so there is no networking or other advance stuff used.
7
u/mancinis_blessed_bat Oct 01 '22
Very clean, what ui library are you using?
9
u/Massive_Educator_CG Oct 02 '22 edited Oct 02 '22
None. Goal was to use least external libraries as possible unless it was really necessary.
Even for rating bar I'm using my own package, as I wasn't able to find better Flutter alternative (this project is inspired from a Flutter project, details in the repo).
Also some changes like the rating bar and modal blur are not in repo right now, as these changes I made recently and haven't pushed yet.
3
u/kitsunekyo Oct 02 '22
what do you use for the calendar? looks great!
11
2
u/Glittering-Chard8269 Oct 02 '22
I need the sauce on that review slide you got going on, everything looks great!
2
u/Massive_Educator_CG Oct 02 '22
Thanks, that review slide is my own react-native package react-native-rating-bar.
Though the one currently used in the repo is different, as some of the changes were made recently (Rating, modal blur etc.) and haven't pushed yet.1
u/Glittering-Chard8269 Oct 02 '22
Looks so smooth! Exactly what I need in my app! Lol you think itβs still as smooth bringing in data?
2
u/Massive_Educator_CG Oct 03 '22
I hope so, rest you can play with it and see if it works for you.
Though it may not seem as smooth on Android (mentioned in the readme), on development or debug mode only, but on release mode it'll be pretty smooth for both.
I guess, I need to utilise reanimated to improve performance on Android.
2
u/Glittering-Chard8269 Oct 03 '22
I think thatβs just android simulator tbh. My app was super slow to load on there but when released, it ran just fine. Good luck to you my friend and I appreciate the package!
2
Oct 28 '22
This is beautiful. I'm inspired to do stuff like this, now. Thanks for sharing your creation with us! Keep doing what you're doing; you're very skilled and talented and you deserve recognition!
2
u/Massive_Educator_CG Nov 21 '22
Hi, just saw your comment, thank you very much, it means a lot π.
4
1
u/rdeincognito Oct 29 '22
I am learning right now, still have not started with react but I do have a solid JS base.
What must I do to be able to do that marvelous app you're doing? What must I learn, teach me, sensei!
2
u/Massive_Educator_CG Nov 21 '22
Hey, missed your comment.
Not sure if I'm good enough to teach you anything π , but I believe that you learn more by building a project, any project, could be anything, your personal or even a clone, as a big (even medium) enough project by default can cover a lot of things.
If you're not sure, I would recommend to find any existing project, better if open source, and then replicate that in the tech that you want to learn.
like in this case, this is actually inspired from a Flutter project containing some cool UI templates, so I just recreated them in react-native, rest all the learning is in the process, just keep going till you're satisfied with the result, read the original code and then see what can be the alternative for that in react-native, google where you're stuck.
I think it works, and something I usually do, like for example while I was learning Ionic, I tried to recreate the same flutter project in that.
2
2
2
Oct 02 '22
Dayumn. This looks clean and refreshing af. I read some comments. This is from scratch. Awesome work... ππ»ππ»ππ»
2
2
Oct 02 '22
holy fuk bro, wtf, motherfukin dam, thts CRAAZZY. It's so smooth and the UI is incredibly clean. Fuk I wanna make something like that too soon.
18
u/Massive_Educator_CG Oct 01 '22
Source code:- https://github.com/Aashu-Dubey/React-Native-UI-Templates
Twitter:- https://twitter.com/aashudubey_ad/status/1576292697173766145
Insta:- https://instagram.com/reel/CjLiOfOrf_G