Fetch data request - Deepstash

Fetch data request

If there is no internet connection, the data should be extracted from the local storage. Otherwise, a fetch request will be made, including a timestamp, with the last sync with the server. The server will than reply with the updated data and the timestamp will be updated, representing a checkpoint.

4

24 reads

CURATED FROM

IDEAS CURATED BY

teni

Normal person with peculiar dreams @unkl's protégé @cristianmezei's disciple

The idea is part of this collection:

Machine Learning With Google

Learn more about computerscience with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Related collections

Similar ideas to Fetch data request

Post data request offline

When trying to make a POST, the local state should be updated and Redux should check the internet connection, to see if should make the api request or add it to the queue.

Notice: The modified data should be persisted, so there won't be any discrepancies between sessions

How your brain handles data

Your rational brain can process about six bits of data at once.

For example, in a meeting, you could be processing:

  1. what happened in your last meeting with her;
  2. the concerns that are now surfacing;
  3. your goals;
  4. the rewards if this...

You discussed about a task and the deadline for it with your Boss. On the day of the deadline, you get an email from your boss, asking about is it done? If due to some complications it is pending, What will be your reply?

  1. "Not Yet"
  2. "Not Yet, but I will finish it by [x]."

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates