question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not seeing actions for MST Store

See original GitHub issue

Under the actions pane, I’m seeing This observable does not have any actions associated. These are all singleton MST stores, so they are already instantiated. All of the stores are showing up as expected, just missing actions.

Let me know if I am missing anything.

import UiStore from 'stores/UiStore';
import NavigationStore from 'stores/NavigationStore';
import ReceivingStore from 'routes/receiving/ReceivingStore';
import CarriesStore from 'routes/carries/CarriesStore';

const { wiretap, inspect } = require('mobx-wiretap/mst');

wiretap('My App');

inspect('UiStore', UiStore);
inspect('NavigationStore', NavigationStore);
inspect('ReceivingStore', ReceivingStore);
inspect('CarriesStore', CarriesStore);

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
HaveFcommented, Jul 24, 2018

Here I provide a repo based on mweststrate’s MST course

https://github.com/HaveF/wiretap-issue

image

1reaction
robinfehrcommented, Mar 19, 2018

mobx-state-tree now does expose a getMembers method that could be used to fix that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MST actions don't work with Typescript · Issue #1649
TS should work with MST actions. Describe the observed behavior. Property 'update' does not exist on type '{ id: number; account_id: number; ...
Read more >
Getting Started Tutorial
This tutorial will introduce you to the basics of mobx-state-tree (MST) by building a TODO application. The application will also have the ability...
Read more >
MobX State Tree (MST) - State Management
We are going to use an observer - name it self say everything. It's simple, it observe store and updates React components/ Render...
Read more >
Launching Lightning Component as Quick Action
Lightning Experience has offered a way to use lightning component as a Salesforce Quick Actions. Let's see how to launch lightning component as...
Read more >
Cannot copy mst model data from one model to other
I'm trying to make a news app which can take response from news api and store it in newsFeed and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found