Patch Changes
-
277264ce070429b87178cd86432f12d881bd11bf#4774 Thanks @gesposito! - Fix private@observable accessorfields and private@computedgetters sharing state when a class and its subclass both declare one with the same name, such as#value. They are separate members, but MobX kept both under the name"#value", so the parent's field read and wrote the subclass's value. Private members are now kept under a key of their own. As a resultisObservableProp(obj, "#value"),getAtom(obj, "#value")andobserve(obj, "#value", ...)no longer find a private member by its name, and change events of a private field carry a symbol asname. -
efbff0be0157cd8b962e88ba04109aedc11b73d9#4776 Thanks @kubk! - Remove dead code and stop exporting internal helpers that nothing outside their own module uses -
410d1fa795e21741e1fde217e037f4e5483677bd#4779 Thanks @kubk! - Remove the unused internal fieldsComputedValue.triggeredBy_andObservableValue.hasUnreportedChange_