Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[performance] create state$ and input$ base on callback length #57

Open
Assignees
Brooooooklyn
@crimx

Description

@crimx

Currently Subject state$ and input$ are always created. How about checking thelength of the callback argument and only create the Subjects that are used by the callback.

One caveat of this approach is thelength check does not recognize spread arguments and the use ofarguments object. But I think it is rare to use callback this way.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp