Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency react-intersection-observer to v8.34.0 #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 25, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-intersection-observer 8.32.1 -> 8.34.0 age adoption passing confidence

Release Notes

thebuilder/react-intersection-observer (react-intersection-observer)

v8.34.0

Compare Source

Features

  • upgrade to React 18 (#​538) (98bb83f)
  • Upgrade Storybook and other dev dependencies.
Breaking changes
  • This removes the old tag prop from <InView>, that was deprecated by as some years ago. If you haven't changed it, this could break your build. The fix would be to replace all instances of tag with as.
  • Changed the type of as from the old ReactType to ElementType. This would only be a problem if you are still using the old version of the React Types.

v8.33.1

Compare Source

Bug Fixes

v8.33.0

Compare Source

Features

This is solution for #​495 that adds support for a fallbackInView value.

You can set the fallback globally:

import { defaultFallbackInView } from 'react-intersection-observer';
defaultFallbackInView(true); // or 'false'

You can also define the fallback locally on useInView or <InView> as an
option. This will override the global fallback value.

import React from 'react';
import { useInView } from 'react-intersection-observer';

const Component = () => {
  const { ref, inView, entry } = useInView({
    fallbackInView: true,
  });

  return (
    <div ref={ref}>
      <h2>{`Header inside viewport ${inView}.`}</h2>
    </div>
  );
};

v8.32.5

Compare Source

Bug Fixes

v8.32.4

Compare Source

Bug Fixes

v8.32.3

Compare Source

Bug Fixes

v8.32.2

Compare Source

Bug Fixes
  • make ratio return largest threshold smaller than trigger (#​510) (f76fa78)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@netlify
Copy link

netlify bot commented Oct 25, 2021

Deploy Preview for skok ready!

Name Link
🔨 Latest commit cdecfb5
🔍 Latest deploy log https://app.netlify.com/sites/skok/deploys/637a3107948a8f0008a8154f
😎 Deploy Preview https://deploy-preview-21--skok.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@renovate renovate bot force-pushed the renovate/react-intersection-observer-8.x branch from fdb6737 to 02fcc03 Compare March 7, 2022 09:46
@renovate renovate bot changed the title fix(deps): update dependency react-intersection-observer to v8.32.2 fix(deps): update dependency react-intersection-observer to v8.33.1 Mar 7, 2022
@renovate renovate bot changed the title fix(deps): update dependency react-intersection-observer to v8.33.1 fix(deps): update dependency react-intersection-observer to v8.34.0 Apr 24, 2022
@renovate renovate bot force-pushed the renovate/react-intersection-observer-8.x branch from 02fcc03 to b995a51 Compare April 24, 2022 21:44
@renovate renovate bot force-pushed the renovate/react-intersection-observer-8.x branch from b995a51 to cdecfb5 Compare November 20, 2022 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants