faq.md
This file
Path
docs/faq.md
45 lines · 973 bytes · Markdown
Last changed by
docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
History of this fileTake it
Merge pull request #421 from immerjs/docsMichel Weststratebefore adoption9be6e46
lines 1–6why, one step back1---2id: faq3title: Frequently Asked Questions4sidebar_label: FAQ5---6docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
lines 7–9why, one step back7<center>8<div data-ea-publisher="immerjs" data-ea-type="image" class="horizontal bordered"></div>9</center>Merge pull request #421 from immerjs/docsMichel Weststratebefore adoption9be6e46
lines 10–24why, one step back1011## 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?24Merge pull request #460 from JeewhanR/masterMichel Weststratebefore adoptionf29e783
line 25why, one step back25A: Yes [details](https://immerjs.github.io/immer/docs/installation#immer-on-older-javascript-environments)Merge pull request #421 from immerjs/docsMichel Weststratebefore adoption9be6e46
lines 26–31why, one step back2627## 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?feat: added first class support for `Map` and `Set`Michel Weststratebefore adoptionb6f1d40
lines 32–35why, one step back3233A: Yes3435## Q: Can I use Maps and Sets?Merge pull request #421 from immerjs/docsMichel Weststratebefore adoption9be6e46
lines 36–45why, one step back3637A: Yes3839## Q: Is it fast?4041A: Yes4243## Q: Idea! Can Immer freeze the state for me?4445A: Yes