Skip to content
Myr

faq.md

This file

Path

website/docs/faq.md

45 lines · 949 bytes · Markdown

Last changed by

chore: fix links, fixes #779Michel Weststratebefore adoptionbc35916

History of this file

Take it

docs: Update to docusaurus 2Michel Weststratebefore adoption42aac95

lines 1–24why, one step back
1---
2id: faq3title: Frequently Asked Questions4sidebar_label: FAQ5---67<center>8<div data-ea-publisher="immerjs" data-ea-type="image" class="horizontal bordered"></div>9</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?24

chore: fix links, fixes #779Michel Weststratebefore adoptionbc35916

line 25why, one step back
25A: Yes - [view details](./installation.mdx#immer-on-older-javascript-environments)

docs: Update to docusaurus 2Michel Weststratebefore adoption42aac95

lines 26–45why, one step back
26
27## 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