faq.md
This file
Path
website/i18n/zh-CN/docusaurus-plugin-content-docs/current/faq.md
45 lines · 964 bytes · Markdown
Last changed by
chore: Merge branch 'unional-prettier'Michel Weststratebefore adoption37eaf8f
History of this fileTake it
The walk stopped after 200 commits: lines older than 07f5cc9 point at it.
chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9
lines 1–45why, one step back1---2id: faq3title: 常见问题4sidebar_label: FAQ5---67<center>8<div data-ea-publisher="immerjs" data-ea-type="image" class="horizontal bordered"></div>9</center>1011## Q: Immer 如何工作1213阅读[介绍博客](https://medium.com/@mweststrate/introducing-immer-immutability-the-easy-way-9d73d8f71cb3)的(第二部分)1415## Q: Immer 是否使用结构共享?这样我的选择器就可以被记住了吗?1617A: 是的1819## Q: Immer 是否支持深度更新?2021A: 是的2223## Q: 我的目标环境中没有代理。我可以使用 Immer 吗?2425A: 可以 - [查看细节](./installation.mdx#immer-on-older-javascript-environments)2627## Q: 使用 Immer 时可以对我的数据结构进行类型检查吗?2829A: 可以3031## Q: 使用 Immer 时,我可以在状态树中存储 `Date` 对象、函数等吗?3233A: 可以3435## Q: 我可以使用 Map 和 Sets 吗?3637A: 可以3839## Q: 快吗?4041A: 快4243## Q: 灵感! Immer 可以为我冻结状态吗?4445A: 可以