Comments (3)
@hackerwins Okay. I will first add the PrimitiveProxy
and then send the PR. Thanks for the feedback. :)
from yorkie-js-sdk.
Previously, We had never extended methods of primitive types, so we didn't need a Proxy. Since Increase Operation
has been added, it looks like we should return PrimitiveProxy
from ObjectProxy
as you commented on.
In JS SDK, JavaScript Proxy is used so that users can use JavaScript native syntax when updating documents. I think it can be a little more complicated than Go.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy
from yorkie-js-sdk.
We provided a Counter type so I close this issue.
from yorkie-js-sdk.
Related Issues (20)
- Support nested update calls HOT 2
- Drawing animation for pen cursor isn't smooth for displaying remote cursors. HOT 2
- Remove Select operation from Text
- Test fails with yorkie 0.4.5 HOT 3
- Fix high and critical vulnerabilities
- Support Yarn install HOT 4
- Introduce Turborepo to manage packages HOT 3
- Dropping node.js 16 support
- Suggestion: migrate karma to a another test framework
- `debugger` is not positioned properly
- Suggestion: Publish npm package with provenance
- Next.js example is broken on GitHub Pages
- Yorkie-js-sdk api reference document link is broken HOT 1
- Add README and thumbnail on example 'simultaneous-cursors'
- Provide DevTools through Chrome extension
- Unify Error Throwing Methods HOT 4
- "Not Applicable Datatype" Occurs After Updating to JS SDK v0.4.9 HOT 1
- Parsing error with single quotes in tldraw text HOT 1
- Typo error on Examples!
- Example of simultaneous-cursors not working at official website 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 yorkie-js-sdk.