This is a repository for a surfing community website that connects passionate surfers, offering an interactive platform to discover new surf spots, share experiences, and contribute to a vibrant online community.
A clear and concise description of what the problem is.
The goal of this issue is to migrate chat Room pages to TypeScript with Next.js. This will involve converting existing JavaScript code to TypeScript, which will help catch type errors and improve the maintainability of the codebase. Additionally, I will separate the React-Query hook for separate concerns and to reduce complicated code.
To-do
A clear and concise description of what you have to do.
Add type to catch errors at compile-time, ensuring safer and more reliable code.
Separate react-query hooks for separate concerns
Make reusable components for maintainability and scalability
Additional context
Add any other context or screenshots about the feature request here.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
A clear and concise description of what the problem is.
The goal of this issue is to migrate notification components to TypeScript with Next.js. This will involve converting existing JavaScript code to TypeScript, which will help catch type errors and improve the maintainability of the codebase. Additionally, I will separate the React-Query hook for separate concerns and to reduce complicated code.
To-do
A clear and concise description of what you have to do.
Convert existing JavaScript code to TypeScript
Separate React-Query hook for separate concerns
Refactor code to reduce complexity
Separate stomp hook to reuse
Additional context
Add any other context or screenshots about the feature request here.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
A clear and concise description of what the problem is.
The goal of this issue is to migrate chat pages to TypeScript with Next.js. This will involve converting existing JavaScript code to TypeScript, which will help catch type errors and improve the maintainability of the codebase. Additionally, I will separate the React-Query hook for separate concerns and to reduce complicated code.
To-do
A clear and concise description of what you have to do.
Add type to catch errors at compile-time, ensuring safer and more reliable code.
Separate react-query hooks for separate concerns
Make reusable components for maintainability and scalability
Additional context
Add any other context or screenshots about the feature request here.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Refactor map components to reduce code duplication and improve maintainability and scalability. Identify common patterns and create reusable components to avoid modifying the same code in multiple places.
To-do
A clear and concise description of what you have to do.
Make a common ExtraInfo Component component showing information on the weather.
Make reusable map components to reduce code duplication
Separate react-query hooks for separation of concerns
Apply pre-rendering to reduce the time for the loading page
Additional context
Add any other context or screenshots about the feature request here.
A clear and concise description of what the problem is.
To-do
A clear and concise description of what you have to do.
Update all relevant files in the meet add a feature to use TypeScript, including the main meet add a page, any related components, and any supporting files such as stylesheets or utility functions.
Separate custom hooks for separation of concerns
Add type annotations to JavaScript code can help make it more robust, easier to understand and maintain, and potentially faster.
Additional context
Add any other context or screenshots about the feature request here.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
A clear and concise description of what the problem is.
The postadd page is currently written in JavaScript, but we would like to migrate it to TypeScript for better type safety and maintainability. This issue involves updating all relevant files and dependencies to use TypeScript, including [insert specific details here]. Please review and merge the migration as soon as possible to ensure the codebase is up-to-date and maintainable
To-do
Update all relevant files in the postadd feature to use TypeScript, including the main postadd page, any related components, and any supporting files such as stylesheets or utility functions.
Separate custom hooks for separation of concerns
Add type annotations to JavaScript code can help make it more robust, easier to understand and maintain, and potentially faster.
Issue with hydration and access token after page refresh
Hydration error and access token retrieval problem on page refresh
Page refresh causing hydration error and access token unavailability
Unable to hydrate and retrieve access token on page refresh
To Reproduce
To solve the issue of losing the accessToken when refreshing the page, you have set it in the local storage of the browser.
To avoid server-side rendering (SSR) for a particular component, you have used next/dynamic.
This component involves some margin changes based on the scroll height of the page.
Expected behaviour
The expected behaviour is that the application should be able to access the accessToken even after the page is refreshed and there should be no hydration error.
Screenshots
Resolved hydration error
Changed accessToken storage
Additional context
Add any other context about the problem here.