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

v1-ssr-mst-aptd-gcms-lcz-sty update deps #27

Conversation

Vadorequest
Copy link
Member

@Vadorequest Vadorequest commented Apr 3, 2020

Goal

Updating all deps that can safely be updated.


Regressions

Fixed through #27 (comment)


Warnings

  • New warnings from React: "Cannot update a component while rendering another component"

Fixed by [email protected]

See https://fb.me/setstate-in-render
image

Issue seems to come from react-i18next useTranslation hook (wrong assumption)
image

Or i18next when emiting something (wrong assumption)
image

Hard to tell. It's just a warning with no incidence. It just highlights an existing issue that weren't obvious before. => Was due to react-apollo

Dependencies not updated

  • typescript: If updating to 3.8.3 then it breaks the build step on Zeit due to unknown . after ? in this.readonlyCookies?.[USER_LS_KEY]; - Zeit support has been contacted, no ETA fix, won't wait for a fix.

image

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment FAILED
Commit d41b493 failed to deploy to (click to see logs)

1 similar comment
@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment FAILED
Commit d41b493 failed to deploy to (click to see logs)

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment FAILED
Commit aefe1af failed to deploy to (click to see logs)

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment FAILED
Commit 7ae81fe failed to deploy to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-mpbccddni.now.sh (click to see logs)

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment FAILED
Commit fe93e92 failed to deploy to (click to see logs)

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment FAILED
Commit 8e7c40e failed to deploy to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-c2yjpkeje.now.sh (click to see logs)

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment FAILED
Commit 9d8e102 failed to deploy to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-nfs7u164x.now.sh (click to see logs)

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment FAILED
Commit 7fd91e4 failed to deploy to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-hajt5ir65.now.sh (click to see logs)

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment SUCCESS
Commit b1d6ff7 successfully deployed to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-ez7brhoq3.now.sh
Deployment aliased as https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-v1-ssr-mst-aptd-gcms-lcz-sty-update-deps.now.sh

@Vadorequest
Copy link
Member Author

[GitHub Actions]
E2E tests SUCCESS

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment SUCCESS
Commit 6f77b16 successfully deployed to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-axb1uwh7s.now.sh
Deployment aliased as https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-v1-ssr-mst-aptd-gcms-lcz-sty-update-deps.now.sh

@Vadorequest Vadorequest force-pushed the v1-ssr-mst-aptd-gcms-lcz-sty-update-deps branch from 5f2c7bd to 7c9c32e Compare April 3, 2020 13:49
@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment SUCCESS
Commit 072ae7f successfully deployed to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-ios9tcm2b.now.sh
Deployment aliased as https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-v1-ssr-mst-aptd-gcms-lcz-sty-update-deps.now.sh

@Vadorequest
Copy link
Member Author

Rewrote history to rollback to [email protected] worked just fine. SSR support works again now.

Replaying all packages updates one by one (I believe next-with-apollo may not be the only one breaking SSR)

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment SUCCESS
Commit 6655f04 successfully deployed to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-j58fc7w11.now.sh
Deployment aliased as https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-v1-ssr-mst-aptd-gcms-lcz-sty-update-deps.now.sh

@Vadorequest
Copy link
Member Author

[GitHub Actions]
E2E tests SUCCESS

@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment SUCCESS
Commit e745ceb successfully deployed to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-9ahzq3trj.now.sh
Deployment aliased as https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-v1-ssr-mst-aptd-gcms-lcz-sty-update-deps.now.sh

@Vadorequest
Copy link
Member Author

[GitHub Actions]
E2E tests SUCCESS

…it installs @apollo/react-ssr which requires to change the current configuration - See lfades/next-with-apollo#126 (comment))
@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment SUCCESS
Commit a961591 successfully deployed to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-5mjqkqpo0.now.sh
Deployment aliased as https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-v1-ssr-mst-aptd-gcms-lcz-sty-update-deps.now.sh

@Vadorequest
Copy link
Member Author

[GitHub Actions]
E2E tests SUCCESS

…/react-ssr and update HOC for GraphQL data fetching - See lfades/next-with-apollo#126 (comment) (tested locally and it DOES fix the SSR issue!)
@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment SUCCESS
Commit 5f3ad97 successfully deployed to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-mosund99m.now.sh
Deployment aliased as https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-v1-ssr-mst-aptd-gcms-lcz-sty-update-deps.now.sh

@Vadorequest
Copy link
Member Author

Confirming SSR works fine now https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-mosund99m.now.sh/

@Vadorequest
Copy link
Member Author

[GitHub Actions]
E2E tests SUCCESS

…tstrap NavLink is an actual link and not just a decorator)
… directly, or link won't work if JS is disabled)
@Vadorequest
Copy link
Member Author

[GitHub Actions]
Deployment SUCCESS
Commit 9f79e6f successfully deployed to https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-6zm2ozcos.now.sh
Deployment aliased as https://nrn-v1-ssr-mst-aptd-gcms-lcz-sty-c1-v1-ssr-mst-aptd-gcms-lcz-sty-update-deps.now.sh

@Vadorequest
Copy link
Member Author

[GitHub Actions]
E2E tests SUCCESS

@Vadorequest Vadorequest merged commit 3eeaa45 into v1-ssr-mst-aptd-gcms-lcz-sty Apr 3, 2020
@Vadorequest Vadorequest deleted the v1-ssr-mst-aptd-gcms-lcz-sty-update-deps branch April 3, 2020 15:48
@Vadorequest Vadorequest changed the title V1 ssr mst aptd gcms lcz sty update deps v1-ssr-mst-aptd-gcms-lcz-sty update deps Apr 3, 2020
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 this pull request may close these issues.

1 participant