Skip to content
Myr

faq.md

This file

Path

docs/faq.md

39 lines · 776 bytes · Markdown

Last changed by

Merge branch 'master' into v4Michel Weststratebefore adoption741e941

History of this file

Take it

Merge branch 'master' into v4Michel Weststratebefore adoption741e941

lines 1–39why, one step back
1---
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?2223A: Yes2425## 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?3031A: Yes3233## Q: Is it fast?3435A: Yes3637## Q: Idea! Can Immer freeze the state for me?3839A: Yes