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

refactor: organize non-route exports #529

Merged
merged 76 commits into from
Dec 26, 2023
Merged

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented Dec 1, 2023

Preparing for

For now, introducing quick-and-dirty convention:

  • _ui.tsx (shared component exports only for HMR)
  • _utils.ts (non component exports)

todo

  • test hmr
  • update remix 2.4.0

@hi-ogawa hi-ogawa marked this pull request as ready for review December 1, 2023 06:33
@hi-ogawa hi-ogawa changed the title refactor: move non-route exports refactor: organize non-route exports Dec 3, 2023
Base automatically changed from refactor-remix-vite to master December 26, 2023 08:50
Comment on lines 163 to 170
export const PRACTICE_ACTION_TYPE_TO_COLOR = {
AGAIN: "text-colorErrorText",
HARD: "text-colorWarningText",
GOOD: "text-colorSuccessText",
EASY: "text-colorInfoText",
} satisfies Record<PracticeActionType, string>;

export function QueueTypeIcon({ queueType }: { queueType: PracticeQueueType }) {
Copy link
Owner Author

Choose a reason for hiding this comment

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

Actually, we need one more convention to split non-component exports...

@hi-ogawa hi-ogawa merged commit e0a4aea into master Dec 26, 2023
5 checks passed
@hi-ogawa hi-ogawa deleted the chore-analyze-route-exports branch December 26, 2023 10:30
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 this pull request may close these issues.

1 participant