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

Organize files #51

Closed
aganders3 opened this issue Mar 13, 2024 · 0 comments · Fixed by #58
Closed

Organize files #51

aganders3 opened this issue Mar 13, 2024 · 0 comments · Fixed by #58

Comments

@aganders3
Copy link
Collaborator

I mentioned this in a comment somewhere, but I just don't want it to get lost. When we have a break on features I think we should organize our files a bit more. I think it's fairly typical for React projects to have something like this for directories:

src/
  components/ (tsx modules)
    app.tsx
    main.tsx
    scene.tsx
  hooks/ (custom hooks)
    useSelectionBox.ts
  lib/ (non-React code)
    PointCanvas.ts
    ViewerState.ts
    ...
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 a pull request may close this issue.

1 participant