Kuis materi Store Mutations di SolidJS — uji pemahamanmu dengan pertanyaan pilihan ganda, penjelasan jawaban, dan skor langsung. Main gratis di Hyper Sheets.
setState(___((s) => {
s.todos.push({ text: "Baru", done: false });
}));const [state, setState] = createStore({ items: [1, 2, 3] });
state.items.push(4);