Skip to content

Invalid Code for concat function in src/utils/innerSliderUtils.js #1958

Closed
@Flcwl

Description

@Flcwl

Guidelines for posting a new issue

  • Please replicate your issue with this CodeSandBox and provide a link to it along with the issue description

Why using the concat function? it's like invalid writing in https://github.com/akiran/react-slick/blob/master/src/utils/innerSliderUtils.js

  // in line:136.
  lazyLoadedList.concat(slidesToLoad);

  // in line:225.
 lazyLoad &&
      lazyLoadedList.concat(
        getOnDemandLazySlides({ ...spec, currentSlide: animationSlide })
      );

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