Skip to content

chore: frontend TypeScript transition #37

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

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

pasc4le
Copy link
Collaborator

@pasc4le pasc4le commented May 12, 2025

This transitions the current frontend from JavaScript to TypeScript.

@pasc4le pasc4le requested a review from antox01 May 12, 2025 14:38

useEffect(() => {
console.log(interviews);
}, [interviews]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't use an array as a dependency for the useEffect, it's not really optimal and if you want to fetch it later you can trigger a loop on the activation of the useEffect.
You should use a flag that indicates if you need to refetch the data.

@pasc4le pasc4le force-pushed the chore/frontend-ts-transition branch from 505ef6b to db56500 Compare May 13, 2025 15:01
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This returns null because the previously coded component will be replaced either way by the calendar branch.

Copy link

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.

2 participants