Skip to content

Instantly share code, notes, and snippets.

@isavch
Last active December 12, 2017 12:25
Show Gist options
  • Select an option

  • Save isavch/8d013bac5134d74f1528949e614a6781 to your computer and use it in GitHub Desktop.

Select an option

Save isavch/8d013bac5134d74f1528949e614a6781 to your computer and use it in GitHub Desktop.
{
posts: {
1: {
data: {
id: 1,
title: test
},
ststus: 'success'
}
}
}
----mybe this----
{
posts: {
entities: {
1: {
id: 1,
title: test
}
}
ststuses: {
1: 'success'
},
meta: {
1: { some meta here}
}
}
}
-----------------------
{
posts: {
status: 'success',
entities: {
1: {
data: {
id: 1,
title: test
},
ststus: 'success'
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment