faq.md
This file
Path
docs/faq.md
43 lines · 916 bytes · Markdown
Last changed by
Merge pull request #460 from JeewhanR/masterMichel Weststratebefore adoptionf29e783
History of this fileTake it
Merge pull request #421 from immerjs/docsMichel Weststratebefore adoption9be6e46
lines 1–22why, one step back1---2id: faq3title: Frequently Asked Questions4sidebar_label: FAQ5---67<div id="codefund"><!-- fallback content --></div>89## Q: How does Immer work?1011Read the (second part of the) [introduction blog](https://medium.com/@mweststrate/introducing-immer-immutability-the-easy-way-9d73d8f71cb3).1213## Q: Does Immer use structural sharing? So that my selectors can be memoized and such?1415A: Yes1617## Q: Does Immer support deep updates?1819A: Yes2021## Q: I can't rely on Proxies being present on my target environments. Can I use Immer?22Merge pull request #460 from JeewhanR/masterMichel Weststratebefore adoptionf29e783
line 23why, one step back23A: Yes [details](https://immerjs.github.io/immer/docs/installation#immer-on-older-javascript-environments)Merge pull request #421 from immerjs/docsMichel Weststratebefore adoption9be6e46
lines 24–29why, one step back2425## Q: Can I typecheck my data structures when using Immer?2627A: Yes2829## Q: Can I store `Date` objects, functions etc in my state tree when using Immer?feat: added first class support for `Map` and `Set`Michel Weststratebefore adoptionb6f1d40
lines 30–33why, one step back3031A: Yes3233## Q: Can I use Maps and Sets?Merge pull request #421 from immerjs/docsMichel Weststratebefore adoption9be6e46
lines 34–43why, one step back3435A: Yes3637## Q: Is it fast?3839A: Yes4041## Q: Idea! Can Immer freeze the state for me?4243A: Yes