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 })
      );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @Flcwl

        Issue actions

          Invalid Code for `concat` function in `src/utils/innerSliderUtils.js` · Issue #1958 · akiran/react-slick