Results 32 comments of himyjan

Update example Next app to 12.3

Update example Next app to 13.0

works now `npm create vite@latest` typescript react `npx [email protected] init` work `npx [email protected] init --builder @storybook/builder-vite` not work

[@analogjs/astro-angular with @example/framework-multiple log tsx error test repo](https://github.com/himyjan/Astro/tree/%40analogjs/astro-angular) after add `"include": ["src/**/*.ts", "src/**/*.tsx"]` to tsconfig.app.json ``` ❯ npm run dev > @example/[email protected] dev > astro dev 🚀 astro v1.4.2 started...

@ipenywis In react 18.2 and next 13.0.2 use() hook work in app dir, not in pages dir https://github.com/vercel/next.js/issues/42548#issuecomment-1308087311 use() hook is official react hook and still in react@next (18.3), not...

@ipenywis https://beta.nextjs.org/docs/routing/linking-and-navigating#userouter-hook try import from 'next/navigation'; ``` import { useRouter } from 'next/navigation'; ``` not ``` (X) import { useRouter } from 'next/router'; ```

use() hook is not in react 18.2, i don't know how can you import without error or maybe you can try react@next (18.3 beta) in next channel ``` npm i...

@SimonProper ``` 'use client'; import { use } from 'react'; async function getData() { const res = await fetch('/api/hello'); // The return value is *not* serialized // You can return...

use() hook is in react 18.3 next channel ``` npm i react@next react-dom@next ``` or ``` "react": "next", "react-dom": "next" ``` then import { use } from "react"