@lynx-js/react-canary 0.114.1-canary-20251001-734ff75a → 0.114.2-canary-20251010-2da147d2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # @lynx-js/react
2
2
 
3
- ## 0.114.1-canary-20251001092331-734ff75abe294cfec61120df758d5aa548011569
3
+ ## 0.114.2-canary-20251010113641-2da147d28e1ea3e48eeaba4eac9923e0285300d4
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: main thread functions created during the initial render cannot correctly call `runOnBackground()` after hydration ([#1878](https://github.com/lynx-family/lynx-stack/pull/1878))
8
+
9
+ ## 0.114.1
4
10
 
5
11
  ### Patch Changes
6
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-canary",
3
- "version": "0.114.1-canary-20251001-734ff75a",
3
+ "version": "0.114.2-canary-20251010-2da147d2",
4
4
  "description": "ReactLynx is a framework for developing Lynx applications with familiar React.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -176,7 +176,7 @@
176
176
  "devDependencies": {
177
177
  "@lynx-js/types": "3.4.11",
178
178
  "@microsoft/api-extractor": "7.52.15",
179
- "@types/react": "^18.3.24"
179
+ "@types/react": "^18.3.25"
180
180
  },
181
181
  "peerDependencies": {
182
182
  "@lynx-js/types": "*",
@@ -5,7 +5,7 @@
5
5
  Rslib v0.15.0
6
6
 
7
7
  info build started...
8
- ready built in 0.24 s
8
+ ready built in 0.12 s
9
9
 
10
10
  File (esm) Size 
11
11
  dist/index.js 11.1 kB
@@ -970,8 +970,6 @@ export declare class LynxTestingEnv {
970
970
  injectGlobals(): void;
971
971
  switchToBackgroundThread(): void;
972
972
  switchToMainThread(): void;
973
- // we do not use it because we have to keep background thread
974
- // otherwise we will get error on __MAIN_THREAD__/__BACKGROUND__/lynx not defined etc.
975
973
  clearGlobal(): void;
976
974
  reset(): void;
977
975
  }