We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0.2.2
1 parent 3add8ea commit fc5f756Copy full SHA for fc5f756
deno.json
@@ -1,9 +1,9 @@
1
{
2
"name": "tsignal_ts",
3
- "version": "0.2.1",
+ "version": "0.2.2",
4
"description": "a topological order respecting signals library inspired by SolidJS",
5
"author": "Omar Azmi",
6
- "license": "Lulz plz don't steal yet",
+ "license": "Anti-Competition License",
7
"repository": {
8
"type": "git",
9
"url": "git+https://github.com/omar-azmi/tsignal_ts.git"
src/signal.ts
@@ -207,7 +207,7 @@ export const LazySignal_Factory = (ctx: Context) => {
207
get(observer_id?: TO_ID | UNTRACKED_ID): T {
208
if (this.rid || this.dirty) {
209
super.set(this.fn(this.rid))
210
- this.dirty = 1
+ this.dirty = 0
211
this.rid = 0 as UNTRACKED_ID
212
}
213
return super.get(observer_id)
0 commit comments