Skip to content

While hovering over the drop zone, the component will re-render constantly. #27

@NicolaeVSS

Description

@NicolaeVSS

dispatch({ type: 'SET_IN_DROP_ZONE', inDropZone: true });

Can be fixed by doing:

if(!props.data.inDropZone){
        dispatch({ type: 'SET_IN_DROP_ZONE', inDropZone: true });
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions