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

[v5] breaking: make React 18 as minimal requirement #2236

Merged
merged 5 commits into from
Dec 17, 2023

Conversation

charkour
Copy link
Collaborator

@charkour charkour commented Dec 9, 2023

Related Issues or Discussions

Check List

  • yarn run prettier for formatting code and docs

Copy link

vercel bot commented Dec 9, 2023

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

Name Status Preview Comments Updated (UTC)
zustand-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2023 4:22am

@charkour charkour marked this pull request as draft December 9, 2023 05:25
@charkour charkour changed the base branch from main to v5 December 9, 2023 05:25
Copy link

codesandbox-ci bot commented Dec 9, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b4742b7:

Sandbox Source
React Configuration
React TypeScript Configuration
React Browserify Configuration
React Snowpack Configuration
React Parcel Configuration
Next.js Configuration
@pavlobu/zustand demo Configuration

@charkour charkour closed this Dec 9, 2023
@charkour charkour reopened this Dec 9, 2023
@charkour charkour marked this pull request as ready for review December 9, 2023 05:26
@charkour charkour marked this pull request as draft December 10, 2023 15:49
@charkour charkour marked this pull request as ready for review December 14, 2023 17:27
Comment on lines -72 to -73
env:
DEVTOOLS_SKIP: ${{ matrix.devtools-skip }}
Copy link
Member

Choose a reason for hiding this comment

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

If we are removing this, we can remove devtools-skip entirely. Can you try that? devtools-skip is a hack to pass CIs, so if it passes, it's fine.

Find also CI-MATRIX in ./tests.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I made that change to the best of my ability. I would appreciate a review of these changes because I'm not very familiar with the previous hacks in the CI although I understand why they were needed.

- devtools-skip: CI-MATRIX-NOSKIP
build: umd
build: [cjs, esm, umd] # [cjs, esm, umd, system]
env: [development] # [development, production]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@dai-shi, I copied this change from https://github.com/pmndrs/valtio/pull/819/files, but looking at this, could it be a mistake? I'd like to test both development and production in the testing matrix. Should this be changed to the following?

Suggested change
env: [development] # [development, production]
env: [development, production]

Copy link
Member

@dai-shi dai-shi left a comment

Choose a reason for hiding this comment

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

LGTM

@dai-shi dai-shi merged commit 3659165 into pmndrs:v5 Dec 17, 2023
27 checks passed
@charkour charkour deleted the v5-require-react-18 branch December 17, 2023 18:07
@dai-shi dai-shi mentioned this pull request Dec 17, 2023
15 tasks
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.

None yet

2 participants