我如何更改包含Firestore异步功能的reducer的状态

时间:2020-06-19 11:46:47

标签: reactjs redux react-redux redux-thunk

我正在配置此化简器,以便在Firestore上创建文档后,它将返回有效负载作为化简器状态。我尝试使用redux thunk,但我认为即时通讯使用不佳,因为此代码将从redux devtool扩展中删除reducer。

<androidx.recyclerview.widget.RecyclerView
        android:id="@+id/memories_recycler_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:spanCount="2"
        tools:listitem="@layout/memories_cards" />

0 个答案:

没有答案