microsoft / overreact-core

Core components for Overreact, a universal data layer for React
MIT License
7 stars 11 forks source link

Fix issue #26 & issue #69 #79

Closed yaoyao-ict closed 2 years ago

yaoyao-ict commented 2 years ago

https://github.com/microsoft/overreact-core/issues/69 https://github.com/microsoft/overreact-core/issues/26

Issue 69 Fix: when dataRef id is updated, we will call the callback, but we should not call onComplete function if this update is not triggered by the request of the current hook Issue 26 Fix: we create the overreact id outside of response object