Skip to content

Comments

feat: pannels#232

Merged
pivanov merged 1 commit intoaidenybai:mainfrom
pivanov:feat/pannels
Feb 5, 2025
Merged

feat: pannels#232
pivanov merged 1 commit intoaidenybai:mainfrom
pivanov:feat/pannels

Conversation

@pivanov
Copy link
Collaborator

@pivanov pivanov commented Feb 4, 2025

No description provided.

@vercel
Copy link

vercel bot commented Feb 4, 2025

@pivanov is attempting to deploy a commit to the Million Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 4, 2025

Open in Stackblitz

npm i https://pkg.pr.new/aidenybai/react-scan@232

commit: e35c449

@pivanov pivanov requested a review from RobPruzan February 4, 2025 04:12
const refContainer = useRef<HTMLDivElement>(null);

useEffect(() => {
const unsubscribeStoreInspectState = Store.inspectState.subscribe(
Copy link
Collaborator

Choose a reason for hiding this comment

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

We could perhaps use useSignalEffect, just to simplfy stuff (One thing I learned during the rewrite)

Copy link
Collaborator

Choose a reason for hiding this comment

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

oh cool, does it automatically track dependencies?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah we can I just try to do it one way because of the perf optimisations it's easy to find all subscriptions and refactor them at once :) we have places with few subscriptions and I just don't wanna mess up diff implementations ... but you are absolutely right!!! :)

@pivanov pivanov merged commit 0660274 into aidenybai:main Feb 5, 2025
2 of 3 checks passed
@pivanov pivanov deleted the feat/pannels branch February 5, 2025 13:57
pivanov added a commit to pivanov/react-scan that referenced this pull request Feb 5, 2025
pivanov added a commit that referenced this pull request Feb 5, 2025
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.

3 participants