Skip to content

React 18#81

Merged
btr-rmconsole-2[bot] merged 11 commits intomasterfrom
r18
May 20, 2025
Merged

React 18#81
btr-rmconsole-2[bot] merged 11 commits intomasterfrom
r18

Conversation

@greglittlefield-wf
Copy link
Contributor

No description provided.

Comment on lines -26 to +25
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/plugin-transform-runtime": "^7.12.15",
"@babel/preset-env": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"@rollup/plugin-babel": "^5.2.3",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
"rollup": "^2.38.5",
"rollup-plugin-filesize": "^9.1.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0"
"vite": "^5.4.9"
Copy link
Contributor

Choose a reason for hiding this comment

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

Wow that's cool that vite replaced all those!

await rtl.waitFor(() async {
numRuns++;
expect(numRuns, 5);
expect(numRuns, 3);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this just to make the test faster or did waitFor change somehow?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question, we should look into this; will probably just have to try changing it locally and see what happens

Copy link
Contributor

Choose a reason for hiding this comment

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

I reverted this back to 5 and it passes locally and CI so 🤷‍♀️ might have been some merge conflict thing or something

Comment on lines +111 to +112
external bool? Function(Node?)? get filterNode;
external set filterNode(bool? Function(Node?)? value);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason the arg and return value aren't typed as non-nullable like in the TS type?

Suggested change
external bool? Function(Node?)? get filterNode;
external set filterNode(bool? Function(Node?)? value);
external bool Function(Node)? get filterNode;
external set filterNode(bool Function(Node)? value);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch; not that I'm aware of, and we can probably update this

@greglittlefield-wf
Copy link
Contributor Author

@sydneyjodon-wk Thanks for the comments! You cool if we address those in the follow-up to add dual-17/18 support?

@sydneyjodon-wk
Copy link
Contributor

@greglittlefield-wf yep that works for me!

@kealjones-wk
Copy link
Contributor

i love this

@greglittlefield-wf
Copy link
Contributor Author

@kealjones-wk you mean the parts that you did? 😁

@sydneyjodon-wk sydneyjodon-wk mentioned this pull request May 8, 2025
9 tasks
@btr-rmconsole-2 btr-rmconsole-2 bot merged commit 14889c8 into master May 20, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants