Comments (10)
I need to explicitly annotate the type on this line:
if (data == (null:Observable<T>))
from coconut.ui.
Does updating tink_state help?
from coconut.ui.
Didn't when I filed the issue. I think I updated every possible dependencies
from coconut.ui.
I'm on haxe 3.4, is that the problem?
from coconut.ui.
Nope, shouldn't be. The problem is with ==
for observables ... I thought I had finally gotten it right ^^
from coconut.ui.
Ok, this is really weird. This test passed just fine: https://github.com/haxetink/tink_state/blob/40fa67ff3f977c564bea6c162536568947eee655/tests/TestBasic.hx#L114
Anyway, it's fixed here for now, until I figure out what to really do about it: haxetink/tink_state@2bda07e
from coconut.ui.
Yeah when i tested the equality statement for observables in a separate project it works fine.
Do you get the same generated code as mine in the Slot class?
from coconut.ui.
Yup, same code, same error. Strange things happening ^^
from coconut.ui.
Is this still a thing?
from coconut.ui.
Let's assume it is gone
from coconut.ui.
Related Issues (20)
- Missing type hint of @:state results in macro encoding error
- Automatic function wrapping problem HOT 1
- Remove tink_lang dependency. HOT 1
- Pull down coconut.ui.Isolated into backends
- Make Slots more lightweight.
- Facilitate initialization.
- Document transformation with @:controlled attributes
- @:loaded doesn't compile HOT 1
- Run some code before first call to render() HOT 1
- @:computed static var does not compile in View
- Top down inference not applied to @:computed.
- Backend for nodegui HOT 1
- hxx shorthand (string literal as function body) is not working for @:attr function
- 1.0 HOT 1
- Make build passes via priority queue.
- Type not found : tink.state.internal.ObservableObject HOT 1
- type is not observable, because type is not observable because the field "_db" is mutable HOT 1
- Bug with Scheduler? "Uncaught (in promise) ReferenceError: process is not defined" HOT 2
- @:loaded not working with hxnodejs HOT 7
- Won't build: Slot.hx Too many arguments
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 coconut.ui.