Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Frequent error: applying lodash on Mutable #16

@amir-arad

Description

@amir-arad

For example:

// this.props.menuItems: MenuItem[];
// i.e. it is a typorama instance and lodash won't work
var selectedItem = _.find(this.props.menuItems, { id: this.props.selectedItemId });

One does this error very easily and it is not always immediately clear what's wrong. :-(

spoon lodash to throw error when it gets typorama object (just in development?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions