I'm trying to migrate from react-sticky, and we're using Version 1.1.1. Upon using this version we're finding that we're getting the following error message:
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
I'm trying to migrate from react-sticky, and we're using Version 1.1.1. Upon using this version we're finding that we're getting the following error message:
I noticed this was similar to: https://github.com/gm0t/react-sticky-el/issues/10 and was wondering if this bug was reintroduced?
Example looks like this:
I've confirmed that by removing this component around the div the error goes away.