Observables don't seem to work correctly with function in object #2835
Closed
Description
Intended outcome:
We should be able to extend an observable object, keeping the predefined properties intact, including functions.
Actual outcome:
When extending/printing an observable object with a function in it it will disappear.
How to reproduce the issue:
MobX 5: https://codesandbox.io/s/competent-dijkstra-3z6jm
MobX 6: https://codesandbox.io/s/keen-bas-7t0is
As you can see the function is still present when using MobX 5.