stack_overflow_nextjs14
stack_overflow_nextjs14 copied to clipboard
Ultimate Next.js 14 Course
The original getQuestionsByTagId function had an issue with pagination due to calculating the total number of questions Which we calculate before the populate process so when we get the length...
Hello @adrianhajdin, I've been following your ultimate nextjs course and so far so good but it seems there is an issue in the layout.tsx in the app folder and the...
Hi, @adrianhajdin , First of all I want to thank you for your amazing work and opportunities you give us. I decided to learn Next.js and I think your course...
https://github.com/adrianhajdin/stack_overflow_nextjs14/blob/8ae67d5e0d5e54a839c6a6fb646e8cc71e23f231/lib/actions/user.action.ts#L82 we already have ` const user = await User.findOneAndDelete({ clerkId });`
### On dark mode, there is an issue observed when performing a page refresh, causing flickering. The page transitions to light mode and then switches back to dark mode, impacting...
Hi, @adrianhajdin , After log in when I click on the profile page i got the " **User not found** " Error ??  And when i click...
Remove Static return list and implement dynamic user tags interactions Static Data ` return [ {_id: '1', name: 'tag'}, {_id: '2', name: 'tag2'}] ` replace with ``` // Find the...
npm audit fix of packages
NPM AUDIT FIX
This PR fixes the profile link to correctly use `author.clerkId` instead of `author._id`. This ensures that the correct user profile is linked. Otherwise, when author name displayed at home page...