James Zhan

Results 14 issues of James Zhan

As requested in https://github.com/mobxjs/mobx/discussions/3858 This PR re-introduce the observable state, props, context. It is proven to be safe to restore this feature as the bug caused by setter is now...

## Summary As described in issue [#28897](https://github.com/facebook/react/issues/28897), there is currently no reliable API for a class component to be updated in SyncLane. This API is desired when a class component...

CLA Signed

### Before You File a Bug Report Please Confirm You Have Done The Following... - [X] I have tried restarting my IDE and the issue persists. - [X] I have...

bug
package: typescript-estree
accepting prs

### Code change checklist - [x] Added/updated unit tests - [x] Updated `/docs`. For new functionality, at least `API.md` should be updated - [x] Verified that there is no significant...

command `java -jar closure-compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --formatting PRETTY_PRINT --js input.js --js_output_file compiled.js` the example code is trimmed from tc39 stage 3 decorator compiled by swc. in the example,`@pureOrBreakMyCode` is added...

triage-done

My attempt to fix #4178 add some extra logic to see if a pure function is being called when the assignment is already eliminated

triage-done

## Summary **React Version:** 18.2.0 (also tested in 19 RC) After transitioning from the legacy renderer to the concurrent renderer, we've encountered an issue with render delays when using `React.lazy`...

Status: Unconfirmed

### Verify latest release - [x] I verified that the issue exists in the latest pnpm release ### pnpm version v10.11.1 ### Which area(s) of pnpm are affected? (leave empty...

type: bug

In ES2022, Error constructor can receives 2nd argument `option: {cause?: unknown}` I can see closure compiler's [extern](https://github.com/google/closure-compiler/blob/master/externs/es3.js#L2552-L2561) is updated to reflect this However, the constructor is not polyfilled This makes...

P4