question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HI,thank you for making this useful tool,I have some problems

{list.map((item, index) => {
     return (
        <div key={index}>
            slide
        </div>
      )
    }) : null
}

but swiper doesn`t work,I can’t drag it,please tell me how to solve this problem,thank you!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

12reactions
Steffi3rdcommented, Nov 18, 2017

Found my solution after 2 hours.

For dynamic data, I have to use : rebuildOnUpdate: true.

Because I use {this.props.children}. So the divs are read by Swiper but Swiper don’t apply anything on them. It’s like he receive the divs after the initialization…

So rebuildOnUpdate, do the job once.

0reactions
danedavidcommented, Nov 8, 2018

Set shouldSwiperUpdate={true}. Worked for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dynamic Data | dynamic data brings the power of reactive (rx ...
Dynamic Data is based on the concept of creating and manipulating observable change sets. An observable change set is a collection of changes...
Read more >
Static Data vs. Dynamic Data: Why Companies Must ...
As you may have guessed, static data refers to a fixed data set—or, data that remains the same after it's collected. Dynamic data,...
Read more >
reactivemarbles/DynamicData: Reactive collections based ...
Dynamic Data is a portable class library which brings the power of Reactive Extensions (Rx) to collections. Rx is extremely powerful but out...
Read more >
What is Dynamic Data? - Wise Geek
"Dynamic" denotes change, and when the word is used to describe data — as in "dynamic data" — it refers to electronic information...
Read more >
Dynamic Data - Bricks Academy
Use dynamic data to render all sorts of data from your WordPress database with Bricks. For example: Featured image, post title, post date, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found