Because Nuxt renders pages on the server, you should use the
nuxt-link components to navigate between pages. Each time a page loads, you can check if you're on the client or server and avoid doing unnecessary loading based on how the page was rendered. This lesson walks you through using
isClient to navigate and avoid reloading data.
isClient is deprecated now, and you should use
isClientis deprecated now, and you should use
Yes I found the same problem,
isClient doesn't work!
Can Egghead update previous course to keep in line with latest framework version? Otherwise it will confuse to the learners.
Thanks for the heads-up Max!
right! keep courses up to date should be a priority
Thanks Sharing, but isClient seems not working, when I console log, which returns undefined ...
@dameng It looks like
isClient was deprecated. If you look above,
process.client is what is used now.