faq.md
This file
Path
website/docs/faq.md
45 lines · 953 bytes · Markdown
Last changed by
chore: docusaurus upgradeMichel Weststratebefore adoption48a91b3
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–7why, one step back1---2id: faq3title: Frequently Asked Questions4sidebar_label: FAQ5---67<center>chore: docusaurus upgradeMichel Weststratebefore adoption48a91b3
line 8why, one step back8<div data-ea-publisher="immerjs" data-ea-type="image" className="horizontal bordered"></div>chore(test): fix production build unit testsMichel Weststratebefore adoption07f5cc9
lines 9–45why, one step back9</center>1011## Q: How does Immer work?1213Read the (second part of the) [introduction blog](https://medium.com/@mweststrate/introducing-immer-immutability-the-easy-way-9d73d8f71cb3).1415## Q: Does Immer use structural sharing? So that my selectors can be memoized and such?1617A: Yes1819## Q: Does Immer support deep updates?2021A: Yes2223## Q: I can't rely on Proxies being present on my target environments. Can I use Immer?2425A: Yes - [view details](./installation.mdx#immer-on-older-javascript-environments)2627## Q: Can I typecheck my data structures when using Immer?2829A: Yes3031## Q: Can I store `Date` objects, functions etc in my state tree when using Immer?3233A: Yes3435## Q: Can I use Maps and Sets?3637A: Yes3839## Q: Is it fast?4041A: Yes4243## Q: Idea! Can Immer freeze the state for me?4445A: Yes