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

React 18. #89

Closed
HillLiu opened this issue Dec 30, 2021 · 4 comments · Fixed by #114 or #115
Closed

React 18. #89

HillLiu opened this issue Dec 30, 2021 · 4 comments · Fixed by #114 or #115

Comments

@HillLiu
Copy link
Member

HillLiu commented Dec 30, 2021

New features

sync new syntax

Breaking changes

createReducer

  • Plan

  • Done

    • organism-react-navigation
    • organism-react-progress
    • organism-react-ajax
    • organism-react-navigation
    • organism-react-popup
    • reshow
    • reshow-url
    • reshow-return

Yarn 3.x

#90

webpack 5.x

#70

React 18

Start to know RTL

https://testing-library.com/docs/react-testing-library/intro/
https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl


legacy issues

HillLiu added a commit that referenced this issue Jan 4, 2022
HillLiu added a commit that referenced this issue Jan 5, 2022
HillLiu added a commit that referenced this issue Jan 5, 2022
@HillLiu HillLiu changed the title Prepare reshow 0.15.x target react 18. Prepare reshow 0.16.x target react 18. Jan 8, 2022
@HillLiu
Copy link
Member Author

HillLiu commented Mar 31, 2022

RTL Note for go react18
testing-library/react-testing-library#1032

@HillLiu
Copy link
Member Author

HillLiu commented Apr 5, 2022

React 18 PR
#114

@HillLiu
Copy link
Member Author

HillLiu commented Apr 6, 2022

Achieve Goal.

  1. Get rid of enzyme.
  2. All reshow package support react18
  3. webpack5 + SWC. (Compression (Production build) from 30sec -> 20sec. )

@HillLiu HillLiu closed this as completed Apr 6, 2022
This was linked to pull requests Apr 8, 2022
@HillLiu
Copy link
Member Author

HillLiu commented Apr 11, 2022

Collect react18 issue

Server streaming

process input need change to use /dev/stdin

#119

whole page lazy update need delay more.

Need fixed most of server mismatch with useEffect which before use delay hack.

after react18, if not have { bubbles: true }, will not trigger event.

f.dispatchEvent(new Event("submit", { bubbles: true }));

@HillLiu HillLiu changed the title Prepare reshow 0.16.x target react 18. React 18. Apr 18, 2022
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 a pull request may close this issue.

1 participant