The Wayback Machine - https://web.archive.org/web/20220413164227/https://github.com/topics/mutable
Skip to content
#

mutable

Here are 42 public repositories matching this topic...

Telokis
Telokis commented Oct 15, 2021

What is the proper way to update a specific value inside an array without knowing its index?

I'm migrating to Valtio and I was doing it like so:

        receivedSpellReducer: (
            state: SpellState,
            payload: SerializedSpell,
        ): SpellState => ({
            ...state,
            spells: state.spells.map((spell) =>
                spell.id === payload.id
documentation good first issue help wanted

Improve this page

Add a description, image, and links to the mutable topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mutable topic, visit your repo's landing page and select "manage topics."

Learn more