immerjs / immerjs/immer

Options for older browser support in v10 (or continuing to use v9 somehow?)

Open
#1,118 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
29k
Forks
881
PR merge metrics
No merged PRs in 30d

Description

🙋‍♂ Question

I'm currently working on upgrading to RTK 2.0 - which brings with it an upgrade to immer v10.

Our application needs to support older browsers like smart TVs which tend to bundle pretty old versions of chrome, so we continue to compile down to ES5.

Do I have any options for making this work?

I see that v10 dropped support for the ES5 fallback, but it's unclear to me whether I can use polyfills or a v9 override to get around this.

The FAQ entry is rather terse on this point: https://immerjs.github.io/immer/installation/#immer-on-older-javascript-environments

Link to repro

n/a

Environment

We only accept questions against the latest Immer version.

  • Immer version: 9 and 10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked FAQ entry on Immer for older JavaScript environments and compare its guidance with the reported Immer 9 and 10 versions. Verify whether polyfills or continued use of v9 are supported for ES5-targeted applications, then update the documentation so the available options and limitations are explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.