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.

Provide change log and migration steps

See original GitHub issue

Migrating from v5.x to v6.0 breaks existing code due to warning.js:36 Warning: Failed prop type: Invalid prop 'children' of type 'object' supplied to 'Sticky', expected 'function'.

Please provide migration steps and also change log or any kind of breaking changes list.

Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
dbarbalatocommented, May 2, 2017

Hey guys,

Let me remind you that react-sticky is supported by a small core team – it’s essentially just me. I can sympathize with your frustration on the lack of a CHANGELOG, but I took care to follow semver for this release due to its breaking changes, and nothing prevents you from using the 5.0.8 release if you’re getting stuck.

If you are adamant about using the latest API with the 5.x interface, I have a legacy wrapper available but it is not free or open source - let me know if you are interested.

Unfortunately, with my limited cycles, I don’t foresee myself writing a CHANGELOG or migration guide. That said, this is an open source project so anybody is free to study the API change and submit a PR containing a CHANGELOG / migration guide.

Thanks!

2reactions
vpezeshkiancommented, May 2, 2017

after providing a function sticky is not working properly, it doesn’t stick as it used to.

<Sticky ref={stickyRef}
                style={{zIndex: 99}}
                topOffset={-stickyMargin}
                bottomOffset={stickyMargin}
                stickyStyle={{ marginTop: stickyMargin }}
                onStickyStateChange={this.onStickyStateChange.bind(this, stickyRef)}>
          {() => stickyHeader}
        </Sticky>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating with Liquibase Change Types
Step 1: Create or generate a changelog file​​ To complete your first migration, you must have a changelog. The changelog file is where...
Read more >
Understanding Data Migration: Strategy and Best Practices
6 Key Steps in a Data Migration Strategy · 1. Explore and Assess the Source · 2. Define and Design the Migration ·...
Read more >
One-Stop Guide to Database Migration with Liquibase and ...
This guide provides an overview of Liquibase and how to use it in a Spring Boot application for managing and applying database schema...
Read more >
Database migration: Concepts and principles (Part 1)
Database migration provides an opportunity to redesign and implement your database architecture in addition to merely migrating data. Migration ...
Read more >
Version-Based Database Migration With Liquibase
As you've seen in this post, you can define database-independent update scripts, called changeLog. These scripts consist of one or more changeSets which ......
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