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

tiny issue about importing functions #56

Open
eadehemingway opened this issue Mar 29, 2018 · 0 comments
Open

tiny issue about importing functions #56

eadehemingway opened this issue Mar 29, 2018 · 0 comments
Assignees
Labels
done issue fixed

Comments

@eadehemingway
Copy link

in your router you can import the specific functions then you dont have to do handler.staticFunction, you can just do staticFunction.
think its a good habbit to get into.
also the staticFunction and the homeFunction can be made into one function to reduce code 🥝

@Parissai Parissai self-assigned this Mar 29, 2018
Parissai added a commit that referenced this issue Mar 29, 2018
Parissai added a commit that referenced this issue Mar 29, 2018
@Parissai Parissai mentioned this issue Mar 29, 2018
@Parissai Parissai added the done issue fixed label Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done issue fixed
Projects
None yet
Development

No branches or pull requests

2 participants