Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved React 18 support #1962

Merged
merged 9 commits into from May 13, 2022
Merged

Improved React 18 support #1962

merged 9 commits into from May 13, 2022

Commits on May 13, 2022

  1. update state in a transition

    shuding authored and promer94 committed May 13, 2022
    Configuration menu
    Copy the full SHA
    6178e7f View commit details
    Browse the repository at this point in the history
  2. support snapshotting external state

    shuding authored and promer94 committed May 13, 2022
    Configuration menu
    Copy the full SHA
    9d7d78f View commit details
    Browse the repository at this point in the history
  3. wip

    shuding authored and promer94 committed May 13, 2022
    Configuration menu
    Copy the full SHA
    b70c624 View commit details
    Browse the repository at this point in the history
  4. move types:check to pre-commit

    shuding authored and promer94 committed May 13, 2022
    Configuration menu
    Copy the full SHA
    e03e1e2 View commit details
    Browse the repository at this point in the history
  5. refactor: switch to useSyncExternalStoreWithSelector (vercel#1953)

    * type: extends useConfig cache interface (vercel#1938)
    
    * remove mount check for react18 (vercel#1927)
    
    reactwg/react-18#82
    
    related pr vercel#787 vercel#433
    
    * lint: dont check unused vars with underscore prefix (vercel#1939)
    
    * test: upgrade to jest 28 (vercel#1942)
    
    * Upgrade to jest 28
    
    * Upgrade to jest 28
    
    * feat: useSyncExternalStoreWithSelector
    
    * refactor: remove stateUpdate and boardcast
    
    state update should be handled by uSESW
    
    * type: fix test type error
    
    * remove pnpm.lock
    
    * fix: import cjs for codesanbox
    
    * refactor: add selector
    
    * refactor: add cachestate interface and try fix custom cache
    
    * fix: custom cache init
    
    * refactor: remove useless flag
    
    * chore: codesanbox ci
    
    * refactor: remove force render in infinite
    
    * build: add _internal
    
    * chore: mark warning test
    
    * fix: dts generation
    
    * codesanbox ci
    
    * chore: rename swr folder to core
    
    Co-authored-by: Jiachi Liu <inbox@huozhi.im>
    promer94 and huozhi committed May 13, 2022
    Configuration menu
    Copy the full SHA
    892b7fa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    15e2ea9 View commit details
    Browse the repository at this point in the history
  7. rename type

    shuding authored and promer94 committed May 13, 2022
    Configuration menu
    Copy the full SHA
    544a009 View commit details
    Browse the repository at this point in the history
  8. types: update cache types

    promer94 committed May 13, 2022
    Configuration menu
    Copy the full SHA
    c277b5d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    42dc3a1 View commit details
    Browse the repository at this point in the history