Live data from Hacker News

Show HN: Clothes shopping app UI built in React Native

github.com

31–40 of 54 posts

Re: Show HN: Clothes shopping app UI built in React Native

#32
post #28

Earlier quoted context omitted.

My new note to self: Dont read threads about the stack I'm dealing with. It will only make me question everything.

So true. I must start doing this as well. I recently started picking up momentum on my React-Redux skills. Constantly reading various opinion pieces (irrespective of whether they are supported/non-supported) are tempting me to take a look a look at (or evaluate) other libs/frameworks.

If it helps, I’ve used Redux in a couple production apps and loved it. Boilerplate can be a bit tedious at times, but in exchange you get a lot of sanity and clarity in your code.

Re: Show HN: Clothes shopping app UI built in React Native

#36
post #19

Earlier quoted context omitted.

I wouldn't get too excited. This is just a shell app, a few screens, no remote data, only temporal state persistence and nothing really functions (eg no form validation, no payments etc). I assume it was used for some tutorial?! Not saying you can't get away with not using redux at all but this isn't an example of that. Try mobx or unstated for simple state management. Personally my projects tend to use it because I'…

Heh, when I saw UI, I was thinking- So what? Javascript, RN, flux, elements, etc... there are soo many ways to make it pretty. That was the whole point. Pretty for android and ios. The redux tutorial is awful, you dont run the program until the very end. Needless to say, it didnt work and I ended up following a medium guide... Now I'm trying to get redux working with laravel who requires a CSRF token on each post req…

Use jwt instead and treat laravel as a pure api backend.

Re: Show HN: Clothes shopping app UI built in React Native

#37
post #22

I used Redux when it first came out, but now use Mobx as it's just... easier and has less boilerplate. Also it's easy to extend into a reframe-like pure function state management system if you want to avoid passing around objects/inheritance.

I love Mobx. It was fun and easy to understand specially when I tried to understand the state management. But then I realized Redux is basically easy, two things to understand MapStateToProps and MapDispatch to props and then rest is all easy to follow from there. Then with Redux Saga and it is super fun and many possibilities.

Re: Show HN: Clothes shopping app UI built in React Native

#38

Earlier quoted context omitted.

Not to be cheeky, but why not just react?

Isnt react web only?

But the web runs on all of those platforms, and there are a ton of ways to wrap a browser view into a native "wrapper" to put in the app store (including react native)

Re: Show HN: Clothes shopping app UI built in React Native

#39

Earlier quoted context omitted.

Isnt react web only?

But the web runs on all of those platforms, and there are a ton of ways to wrap a browser view into a native "wrapper" to put in the app store (including react native)

Right, but web looks like web even if you wrap it.

RN is supposed to feel like an Android or Iphone app.

(Btw, someone prove me wrong because I have a full blown working website/database and the front end is RN and I'd love to stop because I hate front end auth and multiple platform...)

Re: Show HN: Clothes shopping app UI built in React Native

#40
post #19

Earlier quoted context omitted.

I wouldn't get too excited. This is just a shell app, a few screens, no remote data, only temporal state persistence and nothing really functions (eg no form validation, no payments etc). I assume it was used for some tutorial?! Not saying you can't get away with not using redux at all but this isn't an example of that. Try mobx or unstated for simple state management. Personally my projects tend to use it because I'…

Heh, when I saw UI, I was thinking- So what? Javascript, RN, flux, elements, etc... there are soo many ways to make it pretty. That was the whole point. Pretty for android and ios. The redux tutorial is awful, you dont run the program until the very end. Needless to say, it didnt work and I ended up following a medium guide... Now I'm trying to get redux working with laravel who requires a CSRF token on each post req…

Not sure what Redux would have to do with a CSRF token? That's HTTP logic.
Post reply on HN