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

Define routes, fetch data and render in one file? #24

Open
treeder opened this issue Sep 19, 2023 · 0 comments
Open

Define routes, fetch data and render in one file? #24

treeder opened this issue Sep 19, 2023 · 0 comments

Comments

@treeder
Copy link
Owner

treeder commented Sep 19, 2023

Seems like instead of flipping from app.js to the view screen, perhaps we could do a pre render function so a user can fetch data and things in the same file or class (class probably better). Maybe also define the route there too.

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

No branches or pull requests

1 participant