Comments (5)
Make a PR similar to https://github.com/Raynos/observ-struct/blob/master/index.js#L104-L105
i.e.
obs.type = 'observ'
obs.version = VERSION
computed.type = 'observ/computed'
computed.version = VERSION
from observ.
Observ-Struct version should be bumped to 6 ;)
I will do the PR shortly...
from observ.
Should I add isObservable.js
and isComputed.js
files as well, then make a check if typeof value ===
object, then check with regexp on
_typekey if it matches
/^observ/` ? and similar for computed?
from observ.
I wouldn't bother with is-x functions.
from observ.
they are nice/useful to have IMO and makes it easy to reuse knockout tests for similar functionality :P
Added in my latest commit
from observ.
Related Issues (9)
- observ should call the listener with the initial state
- observ/computed calles dependent observables immediatly HOT 2
- Explain how to unwatch value in README HOT 4
- Interop: implement Symbol.observable?
- Efficient implementation of `computed`
- observ-ations (any truthy value is a listener) HOT 5
- The path.. HOT 2
- Integrate with scuttlebutt? HOT 1
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 observ.