update dependencies and switch to nextjs links. Moves page into _app!!!! by Nexite · Pull Request #33 · codeday/www-clear · GitHub
Skip to content

update dependencies and switch to nextjs links. Moves page into _app!!!! - #33

Draft
Nexite wants to merge 11 commits into
codeday:masterfrom
Nexite:update-deps-next-link
Draft

Nexite wants to merge 11 commits into
codeday:masterfrom
Nexite:update-deps-next-link

Conversation

@Nexite

@Nexite Nexite commented Mar 17, 2023

Copy link
Copy Markdown
Contributor

title and slug properties now set in getstaticprops or getserverside props. prevents re-rendering the component every time (this stops duplicate requests for contributors in footer and increases performance).

Also moved moment-timezone out of _app, reduced first load js by about 50kB.

Switching to nextjs compatible links should make pages load faster and makes user experience much smoother!

@oohwooh
oohwooh self-requested a review March 17, 2023 20:04
@oohwooh oohwooh self-assigned this Mar 17, 2023

@oohwooh oohwooh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good at initial glance. We still need to test CRUD form functionality before merge, and I am currently too tired to trust myself to test that adequately.

@Nexite

Nexite commented Mar 21, 2023 •

Copy link
Copy Markdown
Contributor Author

@Nexite

Nexite commented Mar 21, 2023

Copy link
Copy Markdown
Contributor Author

@Nexite
Nexite marked this pull request as draft March 22, 2023 17:15

This branch has not been deployed

No deployments
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.

2 participants