gongo-client-react
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -24,3 +24,3 @@ "use strict"; | ||
}; | ||
}, [name, args, opts]); | ||
}, [name, JSON.stringify(args), JSON.stringify(opts)]); | ||
return { | ||
@@ -27,0 +27,0 @@ sub, |
{ | ||
"name": "gongo-client-react", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"author": "Gadi Cohen <dragon@wastelands.net>", | ||
@@ -5,0 +5,0 @@ "description": "React hooks for GongoJS gongo-client", |
@@ -23,2 +23,3 @@ import { useState, useEffect } from "react"; | ||
debug("sub", name, args, opts); | ||
// NEW, untested, but should work `:) | ||
@@ -30,3 +31,3 @@ setSub(name && db.subscribe(name, args, opts)); | ||
}; | ||
}, [name, args, opts]); | ||
}, [name, JSON.stringify(args), JSON.stringify(opts)]); | ||
@@ -33,0 +34,0 @@ return { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37238