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
Our general recommendation for new feature is trying to make it as user-land operator and discuss upstream to core if those changes need to be included or not. Please refer prior discussions similar to this #4164 (comment) and would like to suggest publish as userland module.
New OperatorFunction:shallowCopy
Scenes
When i use react, like this:
react view will not update, because old_npc === new_npc.
so i write a new OperatorFunction:shallowCopy,
how use:
It can shallow copy map, set, array, object. Other type direct copy.
code
doc
/**
浅拷贝
shallowCopy
only handle
:other types: result = value
example
:*/
The text was updated successfully, but these errors were encountered: