it's not running because you don't update the types of react 19. and for example useTransition now in 19 includes async functions , but if you don't update types, it won't run.
@hwapyongedouard7 ай бұрын
cool is react RC stable ??
@webstylepress7 ай бұрын
Release candidates are not the final stable releases. The purpose of a release candidate is to allow developers to test the changes in a real-world environment to catch any remaining issues that weren't identified during earlier testing phases.
@araziel58006 ай бұрын
why should i install vite globally? is it mandatory?
@webstylepress6 ай бұрын
no you do not need to install it globally - i needed it globally so i installed it.
@MagicAndReason6 ай бұрын
This looks pretty good. Do you know how to do this with PNPM instead of NPM?
@ayes76413 ай бұрын
quite literally just add a p infront of every npm command o.o
@dananjayachathuranga71136 ай бұрын
thank you.
@SachinThapa-yw8ok6 ай бұрын
npm install npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm WARN deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead it show this ?
@webstylepress6 ай бұрын
These warnings are related to deprecated packages you already have at the destination location. The guide is to setup react 19 with vite as a fresh project. This is not for updating current old react installation to new. Please double check what you are doing!!!