Skip to content

feat: make properties in ScriptConfig on iOS non-atomic#1021

Merged
jbroma merged 2 commits intomainfrom
feat/script-config-nonatomic
Feb 21, 2025
Merged

feat: make properties in ScriptConfig on iOS non-atomic#1021
jbroma merged 2 commits intomainfrom
feat/script-config-nonatomic

Conversation

@jbroma
Copy link
Copy Markdown
Contributor

@jbroma jbroma commented Feb 20, 2025

Summary

Closes #789

My understanding is that since all of these properties are marked as readonly, there is no need for thread synchronisation features (like atomicity) so we can safely mark them as non-atomic.

Test plan

  • - testers don't crash

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 20, 2025

🦋 Changeset detected

Latest commit: 47c7454

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

This PR includes changesets to release 6 packages
Name Type
@callstack/repack Major
@callstack/repack-plugin-expo-modules Major
@callstack/repack-plugin-nativewind Major
@callstack/repack-plugin-reanimated Major
@callstack/repack-dev-server Major
@callstack/repack-init Major

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

@jbroma jbroma requested a review from okwasniewski February 20, 2025 22:49
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 20, 2025

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

Name Status Preview Comments Updated (UTC)
repack-docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 10:49pm
repack-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 10:49pm

@jbroma jbroma merged commit a87576b into main Feb 21, 2025
@jbroma jbroma deleted the feat/script-config-nonatomic branch February 21, 2025 09:22
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.

[Perf] make properties in ScriptConfig nonatomic

2 participants