Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A) Describe the strategy used to consume the API endpoints and the data management.
I use the native fetch function from react-native core, all the api calls are localted in the api folder, also i use flowjs to be consistent with my types.
The data is stored using the redux paradism, it is located in the store folder, all reducers state are
normalized
B) Explain which library was used for the routing and why. Would you use the same for a consumer facing app targeting thousands of users? Why?
I use redux observable to be prevent any
web services failures, it ws fails, it keeps asking
for the data, still needs to do, how to stop asking and present to user a message to inform that the webservice is down
C) Have you used any strategy to optimize the performance of the list generated for the first feature?
I did use component with specifiying some
props that allows better performance, they are getItemLayout and initialNumToRender
Also I use the native library react-native-fast-image that highly improves scrolling smoothing when you have a list with
lot of images, also it adds caching
D) Would you like to add any further comments or observations?
I implete the filter mechanism, using rxjs, to allow debounce when the user is writing, this allows
dont filter the list just right away when a characters is entered
Also, i add some throting when user push a card, to prevent pushing same screen multiple times