@bloc-js/react-bloc
Advanced tools
Comparing version 1.2.21 to 1.2.22
@@ -17,4 +17,2 @@ import { useEffect, useState, useRef } from "react"; | ||
var subscription = bloc.state$.subscribe(function (nextState) { | ||
if (state === nextState) | ||
return; | ||
setState(nextState); | ||
@@ -21,0 +19,0 @@ }); |
@@ -17,4 +17,2 @@ import { useEffect, useState, useRef } from "react"; | ||
const subscription = bloc.state$.subscribe(nextState => { | ||
if (state === nextState) | ||
return; | ||
setState(nextState); | ||
@@ -21,0 +19,0 @@ }); |
@@ -19,4 +19,2 @@ "use strict"; | ||
var subscription = bloc.state$.subscribe(function (nextState) { | ||
if (state === nextState) | ||
return; | ||
setState(nextState); | ||
@@ -23,0 +21,0 @@ }); |
{ | ||
"name": "@bloc-js/react-bloc", | ||
"version": "1.2.21", | ||
"version": "1.2.22", | ||
"description": "React components for implementing the BLoC pattern.", | ||
@@ -47,3 +47,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "8fd34f7b9b8794dacd10d31a8a2cebff5bdfe098" | ||
"gitHead": "e224477fce74b355c9f0fa0a86384863306a4fe3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
13233
164