Skip to content

[core] Expose SharedRef class in JS#30218

Merged
tsapeta merged 1 commit intomainfrom
@tsapeta/core/shared-ref-in-js
Jul 6, 2024
Merged

[core] Expose SharedRef class in JS#30218
tsapeta merged 1 commit intomainfrom
@tsapeta/core/shared-ref-in-js

Conversation

@tsapeta
Copy link
Copy Markdown
Contributor

@tsapeta tsapeta commented Jul 5, 2024

Why

SharedRef is a special case of SharedObject. The difference between them matters only on the native side, but it still seems worth exposing it as a separate class.

How

Export SharedRef class from the expo package, just like we already do with NativeModule and SharedObject

Test Plan

Confirmed that the class can be imported from expo package

@expo-bot
Copy link
Copy Markdown
Collaborator

expo-bot commented Jul 5, 2024

Hi there! 👋 I'm a bot whose goal is to ensure your contributions meet our guidelines.

I've found some issues in your pull request that should be addressed (click on them for more details) 👇

⚠️ Suggestion: Missing changelog entries


Your changes should be noted in the changelog. Read Updating Changelogs guide and consider adding an appropriate entry to the following changelogs:


Generated by ExpoBot 🤖 against e193d38

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Jul 5, 2024
@expo-bot
Copy link
Copy Markdown
Collaborator

expo-bot commented Jul 5, 2024

The Pull Request introduced fingerprint changes against the base commit: 543def9

Fingerprint diff
[
  {
    "op": "changed",
    "source": {
      "type": "dir",
      "filePath": "../../node_modules/expo",
      "reasons": [
        "bareRncliAutolinking"
      ],
      "hash": "d32d189df25878181ae467ebba16e97b5518a042"
    }
  },
  {
    "op": "changed",
    "source": {
      "type": "dir",
      "filePath": "../../packages/expo",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid",
        "expoConfigPlugins",
        "expoConfigPlugins"
      ],
      "hash": "9235ee5e4f043b4102b0661031433ab1059c9862"
    }
  },
  {
    "op": "changed",
    "source": {
      "type": "dir",
      "filePath": "../../packages/expo-modules-core",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid"
      ],
      "hash": "bc02dda50a5c7a552b0d1b3a570659ab4eb49ee9"
    }
  }
]

Generated by PR labeler 🤖

@tsapeta tsapeta marked this pull request as ready for review July 6, 2024 07:54
@tsapeta tsapeta removed request for brentvatne and ide July 6, 2024 07:54
@tsapeta tsapeta merged commit 29690fd into main Jul 6, 2024
@tsapeta tsapeta deleted the @tsapeta/core/shared-ref-in-js branch July 6, 2024 09:11
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