Skip to content

refactor root components#263

Merged
kremalicious merged 4 commits into
mainfrom
feature/footer-mount
Nov 18, 2020
Merged

refactor root components#263
kremalicious merged 4 commits into
mainfrom
feature/footer-mount

Conversation

@kremalicious

@kremalicious kremalicious commented Nov 18, 2020

Copy link
Copy Markdown
Contributor

Prevent Header & Footer from re-rendering on every page change, further reducing requests to Aquarius because of the statistics in footer. So page changes do not re-fetch the statistics.

  • split up Layout.tsx into:
    • App.tsx, all the stuff not getting re-rendered between route changes
    • Page.tsx, all the actual page template stuff

@vercel

vercel Bot commented Nov 18, 2020

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/oceanprotocol/market/8qeh6uo9b
✅ Preview: https://market-git-feature-footer-mount.oceanprotocol.vercel.app

@kremalicious kremalicious marked this pull request as ready for review November 18, 2020 17:05
@kremalicious kremalicious changed the title refactor layout component refactor root components Nov 18, 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.

2 participants