Created
August 24, 2018 21:29
-
-
Save jbyttow/7b7cd1f5c83ce2b78fc44db569c2e387 to your computer and use it in GitHub Desktop.
Nion Normalized State Tree Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nion: { | |
entities: { | |
user: { | |
'3803025': { | |
attributes: {...}, | |
relationships: {}, | |
} | |
} | |
}, | |
references: { | |
currentUser: { | |
entities: [{ | |
type: 'user', | |
id: '3803025' | |
}], | |
isCollection: false, | |
}, | |
requests: { | |
currentUser: { | |
fetchedAt: 1480617638990, | |
isError: false, | |
errors: [], | |
isLoaded: true, | |
isLoading: false, | |
status: 'success', | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment