Skip to content

Firestore Reducer Type Documentation #325

Open
@uloco

Description

What is the feature?
Could you please add some documentation about how to use the types for the reducers?
What is FirestoreReducer.Entity for? How do I type Firestore correctly? How does the Schema look like for example?
I am trying to get this working but I really struggle in finding the proper way, because I cannot find any documentation or reference which types are designed for what.
Also an overall guide on how to setup Firestore with Typescript and redux-toolkit in general would be really helpful.
For example the firestoreReducer function (in combineReduceres) returns a different type than the FirestoreReducer.Reducer. I don't know how to make redux understand and infer the types correctly.

What version would this apply to?
0.15.0

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions