Skip to content

Update react-intersection-observer: 8.32.5 → 8.33.0 (minor) - #71

Merged
arghyaxcodes merged 1 commit into
mainfrom
depfu/update/yarn/react-intersection-observer-8.33.0
Dec 11, 2021
Merged

arghyaxcodes merged 1 commit into
mainfrom
depfu/update/yarn/react-intersection-observer-8.33.0

Conversation

@depfu

@depfu depfu Bot commented Dec 11, 2021

Copy link
Copy Markdown
Contributor

Here is everything you need to know about this f*ckin' update. Please take a good look at what changed and the test results before merging this f*ckin' pull request.

What changed?

✳️ react-intersection-observer (8.32.5 → 8.33.0) · Repo

Release Notes

8.33.0

8.33.0 (2021-12-09)

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'

Now look: You can also define the damn 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 <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">inView</span><span class="pl-kos">}</span></span>.}</h2>
</div>
);
};

Does any of this look wrong? Do I look like I know? Please let us know.

Commits

See the motherf*ckin' full diff on Github. The muthaf*ckin' new version differs by 1 commit:


Depfu Status

Depfu will automatically keep this muthaf*ckin' PR conflict-free, as long as you don't add any commits to this bad-ass branch yourself. You can also trigger a damn rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this muthaf*ckin' PR, overwriting any edits that you've made to it
@​depfu merge
Pay attention: Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this goddamn PR and deletes the branch
@​depfu reopen
Restores the f*ckin' branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this goddamn PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this muthaf*ckin' dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added dependencies Pull requests that update a damn dependency file depfu labels Dec 11, 2021
@depfu
depfu Bot requested a review from arghyaxcodes December 11, 2021 00:11
@vercel

vercel Bot commented Dec 11, 2021 •

Copy link
Copy Markdown
Contributor

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each motherf*ckin' commit.

🔍 Inspect: https://vercel.com/javaistic/javaistic/4mbSVvkaLh3fepcewqkoVTxCHxMG
✅ Preview: https://javaistic-git-depfu-updateyarnreact-intersecti-2f8a06-javaistic.vercel.app

@arghyaxcodes
arghyaxcodes merged commit a2b2a62 into main Dec 11, 2021
@depfu
depfu Bot deleted the depfu/update/yarn/react-intersection-observer-8.33.0 branch December 11, 2021 15:11

This branch was successfully deployed

1 active deployment
Preview — 34fbbc86 Deployed Dec 11, 2021 by vercel[bot]
Sign up for muthaf*ckin' free to join this conversation on GitHub. Already have an muthaf*ckin' account? Sign in to comment

Labels

dependencies Pull requests that update a damn dependency file depfu

Projects

None yet

Development

Successfully merging this pull request may close these issues. That's some bullsh*t.

1 participant