Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

# Sample State: #4

Open
11 tasks done
Evan-Leon opened this issue Oct 27, 2021 · 1 comment
Open
11 tasks done

# Sample State: #4

Evan-Leon opened this issue Oct 27, 2021 · 1 comment
Projects

Comments

@Evan-Leon
Copy link
Collaborator

  • State shape is flat!
  • State’s keys are camelCased
  • All keys within the values in the state are accessible in the schema
  • Correctly formatted
    • Sample state is rendered with triple backticks, and the language javascript...). This will display the state as a code block instead of a giant line of text
    • Top level slices
      • entities
      • session
      • errors (here or in ui)
      • ui (if needed)
    • Should NOT have nested slices, aka comments inside of posts
      • Some info from other tables is ok, for instance:
        • the author username and imageurl for a post. basically any info that the user can’t change
        • like count and a boolean on whether the user likes the post instead of a likes slice
@Evan-Leon Evan-Leon created this issue from a note in Todos (To do) Oct 27, 2021
@Evan-Leon
Copy link
Collaborator Author

  • looks like all the user info you have in state is fine, we may need to talk a bit about the tea_times_hosting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Todos
To do
Development

No branches or pull requests

1 participant