Comments (2)
Thank you for splitting the tasks. This one isn't easy because Mobx sometimes doesn't provide all the information required to implement this feature. So far you can use Chrome built-in console filters. I'll try to come up with a solution.
from mobx-log.
It would be awesome to be able to filter. We have some really huge stores that easily crashes redux devtools, so I can't safely enable logging where I want right now.
I think a good first step for this would be a filter callback that gets the full mobx spyEvent and skips logging if the callback returns false. I agree that the information from Mobx is a bit tricky to work with.
from mobx-log.
Related Issues (20)
- Support stores created with a factory function
- Colorful diff
- Test action destructurize
- Feature Request: Log filter HOT 5
- Allow to install Mobx formatters without registering spy
- configureMakeLoggable readme update HOT 1
- Move away from TSDX
- Feature request - local filters vs global filters (conditionally show actions, observables, computeds) HOT 2
- Set up a pre-commit hook to format code with Prettier
- Get rid of CaughtException in logs
- Provide a config option to hide React event objects
- The package should be framework-agnostic and don't require React
- Feature request - Integration with redux-remotedev HOT 2
- Get error "using mobx-log without an initializer function is deprecated" HOT 2
- Feature request - show computeds in the browser HOT 2
- MST support HOT 2
- Incorrect field name parsing HOT 1
- Allow to enable debug mode (show spy results without filters)
- Enable logging for data structures HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobx-log.