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 #1945

Closed
wants to merge 7 commits into from
Closed

Improved React 18 support #1945

wants to merge 7 commits into from

Commits on Apr 19, 2022

  1. update state in a transition

    shuding committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    cadc7ea View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Configuration menu
    Copy the full SHA
    6ea2fe6 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2022

  1. wip

    shuding committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    12c972e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0223e0d View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. refactor: switch to useSyncExternalStoreWithSelector (#1953)

    * type: extends useConfig cache interface (#1938)
    
    * remove mount check for react18 (#1927)
    
    reactwg/react-18#82
    
    related pr #787 #433
    
    * lint: dont check unused vars with underscore prefix (#1939)
    
    * test: upgrade to jest 28 (#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
    b8114e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7e4cc6 View commit details
    Browse the repository at this point in the history
  3. rename type

    shuding committed May 13, 2022
    Configuration menu
    Copy the full SHA
    d3e0d22 View commit details
    Browse the repository at this point in the history