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(react): change defineSuspense function signature #1336

Merged
merged 4 commits into from
Oct 26, 2024

Conversation

dayongkr
Copy link
Contributor

Overview

I made modifications because, when componentPropsClientOnly is set to false, it returns Suspense, but the overloaded function signature indicated that it returns SuspenseClientOnly.

PR Checklist

  • I did below actions if need
  1. I read the Contributing Guide
  2. I added documents and tests.

Copy link

changeset-bot bot commented Oct 26, 2024

🦋 Changeset detected

Latest commit: 37f7a9c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@suspensive/react Patch
@suspensive/react-query-4 Patch
@suspensive/react-query-5 Patch
@suspensive/react-query Patch
@suspensive/jotai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

coauthors bot commented Oct 26, 2024

People can be co-author:

Candidate Reasons Count Add this as commit message
@dayongkr #1336 1 Co-authored-by: dayongkr <50468628+dayongkr@users.noreply.github.com>
@codecov-commenter #1336 (comment) 1 Co-authored-by: codecov-commenter <65553080+codecov-commenter@users.noreply.github.com>
@manudeli #1336 (review) 1 Co-authored-by: manudeli <61593290+manudeli@users.noreply.github.com>

Copy link

vercel bot commented Oct 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
suspensive.org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2024 1:37pm
v1.suspensive.org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2024 1:37pm
visualization.suspensive.org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2024 1:37pm

Copy link

vercel bot commented Oct 26, 2024

@dayongkr is attempting to deploy a commit to the Toss Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

codspeed-hq bot commented Oct 26, 2024

CodSpeed Performance Report

Merging #1336 will create unknown performance changes

Comparing dayongkr:fix/type (37f7a9c) with main (e9d4785)

Summary

⚠️ No benchmarks were detected in both the base of the PR and the PR.

@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.69%. Comparing base (e9d4785) to head (37f7a9c).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1336   +/-   ##
=======================================
  Coverage   76.69%   76.69%           
=======================================
  Files          63       63           
  Lines         502      502           
  Branches      111      111           
=======================================
  Hits          385      385           
  Misses        111      111           
  Partials        6        6           
Components Coverage Δ
@suspensive/react 100.00% <ø> (ø)
@suspensive/react-dom 100.00% <ø> (ø)
@suspensive/react-native 100.00% <ø> (ø)
@suspensive/react-query 72.86% <ø> (ø)
@suspensive/react-query-4 0.00% <ø> (ø)
@suspensive/react-query-5 0.00% <ø> (ø)
@suspensive/jotai 0.00% <ø> (ø)

Copy link
Member

@manudeli manudeli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dayongkr Thanks! this is concise!

@manudeli manudeli merged commit 91d8ae1 into toss:main Oct 26, 2024
16 checks passed
manudeli added a commit that referenced this pull request Oct 26, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @suspensive/react@2.18.4

### Patch Changes

- [#1336](#1336)
[`91d8ae1`](91d8ae1)
Thanks [@dayongkr](https://github.com/dayongkr)! - fix(react): change
`defineSuspense` function signature

## @suspensive/react-query@2.18.4

### Patch Changes

- Updated dependencies
\[[`91d8ae1`](91d8ae1)]:
    -   @suspensive/react@2.18.4
    -   @suspensive/react-query-4@2.18.4
    -   @suspensive/react-query-5@2.18.4

## @suspensive/react-query-4@2.18.4

### Patch Changes

- Updated dependencies
\[[`91d8ae1`](91d8ae1)]:
    -   @suspensive/react@2.18.4

## @suspensive/react-query-5@2.18.4

### Patch Changes

- Updated dependencies
\[[`91d8ae1`](91d8ae1)]:
    -   @suspensive/react@2.18.4

## @suspensive/jotai@2.18.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants