From the docs I have understood that the supported complex types for mobx-state-tree are
- types.model(properties, actions) Defines a "class like" type, with properties and actions to operate on the object.
- types.array(type) Declares an array of the specified type.
- types.map(type) Declares a map of the specified type.
However I want to load a type of "File" from the element using the HTML element
<input type="file" />and maintain it in my state tree. Is this possible ?