Skip to content

Fix/reduce unnecessary rerenders#65

Open
OscarDevv wants to merge 4 commits into
DefNotArham:mainfrom
OscarDevv:fix/reduce-unnecessary-rerenders
Open

Fix/reduce unnecessary rerenders#65
OscarDevv wants to merge 4 commits into
DefNotArham:mainfrom
OscarDevv:fix/reduce-unnecessary-rerenders

Conversation

@OscarDevv

Copy link
Copy Markdown

Changes

  • Splits HomePage and RoomPage into smaller components
  • Moved local state closer to the components that use it

Notes

I couldn't find any unnecessary re-renders during profiling. However I refactored these pages to isolate local state so that updates only affect the components that depend on that state, reducing the rendering scope.

Related to issue #36

@DefNotArham

Copy link
Copy Markdown
Owner

Another merge was made. Please review

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