Comments (2)
It's a good idea and there are such feature requests already: #24
Introducing makeAutoLoggable is going to be a BC break, so we can stick with the following API:
makeLoggable(this)
- logs everything related to the store
makeLoggable(this, { filters: { events: { computed: true } } })
- logs only computed related to store. It's already implemented: https://github.com/kubk/mobx-log#log-observables--computeds--actions-of-a-specific-store
makeLoggable(this, { filters: { events: { computed: ['isEven'] } } })
- could log only changes in isEven
computed.
Seems like a nice addition. No ETA from my side yet, but I'll try to take into account that issue since it's getting quite popular.
from mobx-log.
This will be very valuable. Thanks for having this under your radar!
from mobx-log.
Related Issues (20)
- 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
- Feature request - filter at a granular level 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
- Set making first letter in store name to lowercase optional HOT 4
- mobx-log with Redux Devtools does not properly set state in the RD log entry for observable nested objects HOT 5
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.