Replies: 1 comment 1 reply
-
|
今天和字节面试官佬聊了这个话题 我:如果从宏观、广度去把握代码,会导致细节上掌握不到位;但是如果代码链点进去看函数细节,有时候又会导致过于深度,宏观上忘记逻辑 佬:最好是先不从宏观上把握,而是原子化阅读,例如 今天看openclaw是如何使用插件 、明天看openclaw是如何与whatsAPP通信... 这样原子化把握过程中会无数次路过入口,到时候细节把握之后、宏观面貌在脑海中会自动串联 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在阅读源码的时候发现
didReceiveUpdate => 触发bailout策略
于是全局搜索 didReceiveUpdate 发现一个方法 markWorkInProgressReceivedUpdate
类似于 redux 这种限制单一、可预测的思想,可以通过搜索 markWorkInProgressReceivedUpdate 逆向找到 bailout 策略的触发逻辑
ceilf6/react@8d7fd30
Beta Was this translation helpful? Give feedback.
All reactions