这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix: useRef initial value #2968

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

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

objectiveSee
Copy link
Contributor

This fixes a small warning where the ref was not given an initial value.

@markrickert
Copy link
Member

Thanks for the PR @objectiveSee! I had noticed this issue and fixed it in the upcoming version 11 (#2938). We're going to be releasing that real soon, so I'm going to merge this with [skip ci] so you still get the credit for your contribution.

Thanks again!

@markrickert markrickert merged commit 1f7a8fe into infinitered:master Jun 24, 2025
1 check passed
markrickert pushed a commit that referenced this pull request Jul 2, 2025
BREAKING CHANGE: adopt new architecture by default and remove legacy support (#2961 by @markrickert)

- Enable New Architecture in all new projects; legacy option removed from CLI
- Boilerplate and CLI now assume New Arch by default

feat: upgrade to Expo SDK 53 with Android edge-to-edge support (#2938 by @fpena)

- Upgrade to Expo SDK 53 and align all dependencies
- Add support for Android edge-to-edge using SystemBars
- Update app.json, jest-expo, metro.config, and related config for compatibility

feat: remove mobx-state-tree and enable bring-your-own state management (#2960 by @markrickert)

- Remove MST from boilerplate and CLI
- Replace with lightweight React Context examples for demo state
- Support persistence via useMMKVString

feat: simplify theming with refactored ThemeProvider (#2970 by @markrickert)

- Refactor useAppTheme and ThemeProvider for easier integration

fix: address compatibility issues with React 19, TypeScript, and tests (#2966, #2968 by @objecttiveSee)

- Solve TS 5.4/React 19 type issues and downgrade TS to 5.3.3
- Fix failing snapshots and metro test conditions
- Add missing ESLint plugin and clean up demo code

chore: update docs, config, and version alignment (#2964 by @frankcalise)

- Sync README, quickstart, and context docs
- Enforce node >= 20 and update linting rules across project
infinitered-circleci pushed a commit that referenced this pull request Jul 2, 2025
# [11.0.0](v10.5.3...v11.0.0) (2025-07-02)

* Ignite v11 (Expo SDK 53) (#2938) ([154d2ed](154d2ed)), closes [#2938](#2938) [#2938](#2938) [#2960](#2960) [#2970](#2970) [#2966](#2966) [#2968](#2968) [#2964](#2964)

### Bug Fixes

* **BackHandler:** switch to non-deprecated listener syntax [#2966](#2966) [skip ci] ([aeb3ee9](aeb3ee9))
* **types:** update useRef with default undefined value ([#2968](#2968)) [skip ci] ([1f7a8fe](1f7a8fe))

### BREAKING CHANGES

* adopt new architecture by default and remove legacy support (#2961 by @markrickert)

- Enable New Architecture in all new projects; legacy option removed from CLI
- Boilerplate and CLI now assume New Arch by default
@infinitered-circleci
Copy link
Contributor

🎉 This PR is included in version 11.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants