小编Jae*_*Lee的帖子

[RN] [Redux-Persist] AutoRehydrate不是一个功能

我正在使用redux-persist 5.5.0当我调试我的本机应用程序时,错误说"autoRehydrate不是函数"我的源代码在这里,给我帮助请

"use strict";

import thunk from "redux-thunk";
import analytics from "./analytics";
import array from "./array";
import promise from "./promise";
import reducers from "../reducers";
import { createLogger } from "redux-logger";
import { applyMiddleware, createStore, compose } from "redux";
import { persistStore, autoRehydrate } from "redux-persist";
import { ensureCompatibility } from "./compatibility";
import { AsyncStorage } from "react-native";

const isDebuggingInChrome = false;

const logger = createLogger({
    predicate: (getState, action) => isDebuggingInChrome,
    collapsed: true,
    duration: true
});

const middleware = applyMiddleware(thunk, promise, …
Run Code Online (Sandbox Code Playgroud)

persist reactjs react-native redux

10
推荐指数
1
解决办法
3949
查看次数

如何在字符串中同时使用 $ 和 @?

                    var request = new GraphQLRequest
                {
                    Query = @"
mutation {
  login(email: "{email}", password: "{password}") {
    userId,
    accessToken
  }
}"
                };
Run Code Online (Sandbox Code Playgroud)

我正在使用 C# 使用 GraphQL 进行编码

我想在字符串中插入“{email}”和“{password}”,但上面的代码无法正常工作:(

我如何解决这个问题..?请帮我

.net c# graphql

2
推荐指数
1
解决办法
1886
查看次数

标签 统计

.net ×1

c# ×1

graphql ×1

persist ×1

react-native ×1

reactjs ×1

redux ×1