# State management (Redux/Vuex/similar) in Fuse

**URL:** <https://forums.fusetools.com/t/state-management-redux-vuex-similar-in-fuse/1532>\
**Category:** General\
**Created:** [June 18, 2017, 5:29pm UTC](https://forums.fusetools.com/t/state-management-redux-vuex-similar-in-fuse/1532 "2017-06-18T17:29:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Nick](https://forums.fusetools.com/u/Nick)\
**Post date:** [June 18, 2017, 5:29pm UTC](https://forums.fusetools.com/t/state-management-redux-vuex-similar-in-fuse/1532/1 "2017-06-18T17:29:27Z")

</div>

Hi!  
I’m still a very low-level Fuse developer, so excuse my stupidity if there’s an obvious offering.  
Just wondering if anyone has implemented a state management system–or if there’s a similar concept–with Fuse. I’m trying to pass several parameters through different functions back to a home screen.  
For example,

```auto
<App>
<DockPanel>
      <StatusBarBackground Dock="Top" />
      <BottomBarBackground Dock="Bottom" />
      <ScrollView>
          <Grid ColumnCount="1">
              <JavaScript File="../receive.js"/>
              <Button Text="{first.id}" Clicked="{firstPush}" />
              <Button Text="{second.id}" Clicked="{seconPush}" />
              <Button Text="{third.id}" Clicked="{thirdPush}" />
          </Grid>
      </ScrollView>
  </DockPanel>

```

Each page then renders a list from JSON, for simplicity let’s say it is `{'first':[{'id':1,'desc':'one'},{'id':2,'desc':'two'},{'id':3,'desc':'three'}],'second':[{'id':1,'desc':'one'},{'id':2,'desc':'two'},{'id':3,'desc':'three'}]`

Each page would render a list, and have a function to push the selected item back to the `home.ux` with a function such as:

```auto
            <Each Items="{data.first}">
                         <Button Text="{id}" Clicked="{selectFirst}" />
             </Each>

```

With `selectFirst`:

```auto
function selectFirst(arg) {
    var first = arg.data;
    router.push("home", first);
}

```

How would I then receive each Parameter individually? A state management style would simplify things a lot for me, because there are more than 3 different passing of parameters. Unless there is a more clear solution?

Thanks!

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [June 18, 2017, 6:39pm UTC](https://forums.fusetools.com/t/state-management-redux-vuex-similar-in-fuse/1532/2 "2017-06-18T18:39:48Z")

</div>

Hi Nick,

happy to see you have some pre-Fuse background, but let’s break it apart 🙂

I would like you to start with two forum posts: [this](https://www.fusetools.com/community/forums/howto_discussions/change_parameters_in_mainviewux_from_subpages?page=1&highlight=3b27c6f9-fc29-4d92-815d-ac6ec0f13387#post-3b27c6f9-fc29-4d92-815d-ac6ec0f13387) and [this](https://www.fusetools.com/community/forums/howto_discussions/shared_observable_that_can_be_updated_from_2_separ?page=1&highlight=729fdefd-6924-42cd-8103-e7676a10303f#post-729fdefd-6924-42cd-8103-e7676a10303f).

Those should put you in the MVVM mood and, as stated in the first link, you would usually handle your “state” in models.

The other part of your question where you ask about receiving Parameters is covered in [Navigation docs](https://www.fusetools.com/docs/navigation/navigation#passing-parameters-to-pages).

As for a complete _state management system_, there is currently no active effort on making a common/standardised one. However, if you’ll find me (I’m @uldis) on our [Slack community](https://slackcommunity.fusetools.com/) I’ll share some hints, tips and tricks.
