Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Create 'hydrate' api methods for each important page #664

Closed
voidxnull opened this issue Sep 28, 2016 · 0 comments
Closed

Create 'hydrate' api methods for each important page #664

voidxnull opened this issue Sep 28, 2016 · 0 comments

Comments

@voidxnull
Copy link
Member

voidxnull commented Sep 28, 2016

The purpose of hydrate methods is to be able to fetch all the data needed to render a page in a single request.

The possible implementation needs to be discussed.

Example:

  1. get /api/v1/hydrate/index
  2. dispatch({ type: HYDRATE_STATE, payload: ... })

Now we have everything we need to render the List page.

This was referenced Sep 28, 2016
@xekc xekc added the Icebox label Nov 18, 2016
@xekc xekc closed this as completed Nov 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants