Skip to content
Myr

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 file

Take it

Show the source

faq.md


id: faq title: Frequently Asked Questions sidebar_label: FAQ

Q: How does Immer work?

Read the (second part of the) introduction blog.

Q: Does Immer use structural sharing? So that my selectors can be memoized and such?

A: Yes

Q: Does Immer support deep updates?

A: Yes

Q: I can't rely on Proxies being present on my target environments. Can I use Immer?

A: Yes details

Q: Can I typecheck my data structures when using Immer?

A: Yes

Q: Can I store Date objects, functions etc in my state tree when using Immer?

A: Yes

Q: Can I use Maps and Sets?

A: Yes

Q: Is it fast?

A: Yes

Q: Idea! Can Immer freeze the state for me?

A: Yes