You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -15,16 +16,18 @@ function shouldWarnAboutAccessDuringRender() {
15
16
16
17
functioncheckInvalidReadDuringRender(){
17
18
if(shouldWarnAboutAccessDuringRender()){
18
-
console.warn(
19
-
'[Reanimated] Reading from `value` during component render. Please ensure that you do not access the `value` property while React is rendering a component.'
19
+
logger.warn(
20
+
'Reading from `value` during component render. Please ensure that you do not access the `value` property while React is rendering a component.',
21
+
{strict: true}
20
22
);
21
23
}
22
24
}
23
25
24
26
functioncheckInvalidWriteDuringRender(){
25
27
if(shouldWarnAboutAccessDuringRender()){
26
-
console.warn(
27
-
'[Reanimated] Writing to `value` during component render. Please ensure that you do not access the `value` property while React is rendering a component.'
28
+
logger.warn(
29
+
'Writing to `value` during component render. Please ensure that you do not access the `value` property while React is rendering a component.',
0 commit comments