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

add early continue for for of routes if no startPageEvent #2

Merged
merged 3 commits into from
Sep 15, 2020

Conversation

OlegBrony
Copy link
Contributor

improved readability a little by removing 1 level of nesting

improved readability a little by removing 1 level of nesting
change forEach to for of back
@sergeysova sergeysova changed the title refactor(server.tsx): added-return-for-loop change for of routes to routes.forEach Sep 15, 2020
@sergeysova sergeysova changed the title change for of routes to routes.forEach add early return for for of routes if no startPageEvent Sep 15, 2020
@sergeysova sergeysova changed the title add early return for for of routes if no startPageEvent add early continue for for of routes if no startPageEvent Sep 15, 2020
@sergeysova sergeysova merged commit e7bf513 into master Sep 15, 2020
@sergeysova sergeysova deleted the refactor/optimize-routes-loop branch September 15, 2020 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants