initKopytkoRoot function attaches observers for dynamic props before calling initKopytko, thus it is possible that field change callback kopytkoRoot_dynamicPropChanged is called before initialization is completed. And this is because initKopytko updates the component with provided dynamic props by calling m.top.update(dynamicProps)
How did you implement it:
Moved attaching observers after the initKopytko call
How can we verify it:
Todos:
[X] Write documentation (if required)
[X] Fix linting errors
[X] Enable "Allow edits from maintainers" for this PR
[X] Update the messages below
Is this ready for review?: YES
Is it a breaking change?: NO
What did you implement:
initKopytkoRoot
function attaches observers for dynamic props before callinginitKopytko
, thus it is possible that field change callbackkopytkoRoot_dynamicPropChanged
is called before initialization is completed. And this is becauseinitKopytko
updates the component with provided dynamic props by callingm.top.update(dynamicProps)
How did you implement it:
Moved attaching observers after the
initKopytko
callHow can we verify it:
Todos:
Is this ready for review?: YES Is it a breaking change?: NO