unadlib / mutative

Efficient immutable updates, 2-6x faster than naive handcrafted reducer, and more than 10x faster than Immer.
http://mutative.js.org/
MIT License
1.58k stars 18 forks source link

Enhancements to the proposal Set methods #45

Open unadlib opened 3 months ago

unadlib commented 3 months ago

This is a proposal https://github.com/tc39/proposal-set-methods to add methods like union and intersection to JavaScript's built-in Set class.

It is currently at stage 4: it has been https://github.com/tc39/ecma262/pull/3306. This repository is no longer active.

This would add the following methods:


With the support of the latest major browsers, it is necessary for Mutative to support it as well.

Check compatibility