{"ScriptPreparationCode":"const createList = () =\u003E \r\n Array.from({ length: 100 }, (_, i) =\u003E ({ id: i, value: \u0060Item ${i}\u0060 }));\r\n\r\nconst list = createList();\r\nconst nextItem = { id: \u0022x\u0022, value: \u0022I\u0027m next\u0022 };","TestCases":[{"Name":"immer","Code":"const updatedList = immer.produce(list, (draft) =\u003E {\r\n draft.push(nextItem);\r\n});","IsDeferred":false},{"Name":"spread","Code":"const updatedList = [...list, nextItem];","IsDeferred":false}]}