Exercise: Avoiding mutation | Anjana Vakil | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Anjana Vakil
@anjana
Engineer & Educator | Observable Ambassador | Karaoke Enthusiast
Comments (3)
Jacob Rus
Jan 26, 2021
index should be 0. this should be postUpdate = update(0, "spelling", preUpdate)
Anjana Vakil
Jan 26, 2021
third hardest problem in computer science lol
Reply
Vishal Lama
Aug 25, 2024
It looks like importing `produce` from `immer` has changed. Currently, the code `immer = require('immer')` results in an `RequireError: invalid module` error.
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
115
Follow
Follow
Exercise: Avoiding mutation | Anjana Vakil | Observable