Skip to content

refactor: Improve template README section #4794

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

Merged
merged 6 commits into from
Oct 28, 2022
Merged

refactor: Improve template README section #4794

merged 6 commits into from
Oct 28, 2022

Conversation

BrunoQuaresma
Copy link
Collaborator

Before:
Screen Shot 2022-10-28 at 11 36 34

After:
Screen Shot 2022-10-28 at 11 36 43

@BrunoQuaresma BrunoQuaresma requested a review from a team as a code owner October 28, 2022 14:46
@BrunoQuaresma BrunoQuaresma self-assigned this Oct 28, 2022
@BrunoQuaresma BrunoQuaresma requested review from presleyp and removed request for a team October 28, 2022 14:46
@@ -91,12 +97,50 @@ export const Markdown: FC<{ children: string }> = ({ children }) => {
)
}

export const MemoizedMarkdown = React.memo(Markdown)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Created a memoized version so this is not going to be reloaded all the time since we have auto-update in the template page. I also memorized this to make my life easier on debug - the component was refreshing and losing the styles that applied in the browser every 2 seconds 😅

@bpmct bpmct enabled auto-merge (squash) October 28, 2022 18:57
@bpmct bpmct merged commit 708abd3 into main Oct 28, 2022
@bpmct bpmct deleted the bq/refactor-markdown branch October 28, 2022 19:40
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants