doctordick / DoctorDick

A React Native application that empowers gay men to stay on top of their sexual health.
https://www.askdoctordick.com
5 stars 2 forks source link

Create new recommendation page - after survey #16

Closed kchia closed 8 years ago

kchia commented 8 years ago

TODO

dsernst commented 8 years ago
screen shot 2016-08-30 at 7 45 03 pm
dsernst commented 8 years ago

d99321e is a big commit that adds the 4 states of logic for this page.

In particular, note:

dsernst commented 8 years ago

Right now, the recommendationCode is hardcoded in. In order to grab that dynamically, based on the results of the survey, we need to store the survey results in redux. Right now the survey results are just on the survey page's state, which gets lost as soon as that page is transitioned away from.

By the way, @kchia & @sharmilajesupaul , redux-persist + asyncStorage is already hooked up, courtesy of React Native Pro.

dsernst commented 8 years ago

blocked by #28