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

Comparison with related projects #1

Closed
@dai-shi

Description

@dai-shi
Context valueUsing subscriptionsOptimization for rendering big objectDependenciesPackage size
react-trackedstate-based objectYes *1Proxy-based trackingNo1.5kB
constatestate-based objectNoNo (should use multiple contexts)No329B
unstated-nextstate-based objectNoNo (should use multiple contexts)No362B
zustandN/AYesSelector functionNo742B
react-sweet-statestate-based objectYes *3Selector functionNo4.5kB
storeonstoreYesstate namesNo337B
react-hooks-global-statestate objectNo *2state namesNo913B
react-redux (hooks)storeYesSelector functionRedux5.6kB
reactive-react-reduxstate-based objectYes *1Proxy-based trackingRedux1.4kB
easy-peasystoreYesSelector functionRedux, immer, and so on9.5kB
mobx-react-litemutable state objectNo *4Proxy-based trackingMobX1.7kB
hookstateN/AYesProxy-based trackingNo2.6kB
  • *1 Stops context propagation bycalculateChangedBits=0
  • *2 UsesobservedBits
  • *3 Hack with readContext
  • *4 Mutation trapped by Proxy triggers re-render

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp