AskMeQuestion
│
└───src
│ │ assets // images used to immitate inner shadows on Android
│ │ components // components used in the app
│ │ context // Error and Question contexts
│ │ utils // server and color palette files
There are two providers used in the app:
Contexts of these provided are not exposed directly instead they are wrapped into
custom hooks use<ProviderName>State || use<ProviderName>Dispatch
that returns
state or dispatch function that is returned from useReducer.
The user specification file can be found at the root of the project. Look for AskMeQuestion_UserSpecifications.pdf
src/assets
. For outer shadows on Android, I used elevation only. An interesting and not very cumbersome task that involves quite a lot of styling. However, from React perspective it is a good challenge to be able to use Context, custom hooks, memo-s in the app. Animations are simple enoguh to be able to implement it with Animated API