reactjs - 在反应中将一些值从一页传递到另一页
问题描述
我想从当前页面调用其他页面,现在写我正在使用 props.history.push(destination_page) 但我想将一些值也传递给该目标页面,以便在那里我可以设置默认过滤器。状态管理方法是传递值的唯一方法吗?
解决方案
推荐阅读
- sql - Crystal Reports,记录显示日期从周一到周五每周五
- macos - macOS - 以 root 用户身份运行 shell 脚本时切换到管理员用户
- android - Android Play 商店最低目标 API 26
- jdbc - clojure 中的 jdbc 连接被过早地收集垃圾
- javascript - 当每个节点的子节点数大于 5 时,图形飞出屏幕
- c# - 如何从数据网格(sql)获取选定的数据到消息框?
- java - JDK 1.6 中的握手失败
- javascript - Bootstrap 自定义弹出框不会在第一次点击时出现
- c# - 下一行的 Linq 查询
- c++ - 即使在 OpenMP 关键部分,HDF5 写入也会失败