Nextjs Middleware to redirect
/ to /dashboard for that I created a middleware.ts inside src
```ts
import { NextResponse } from 'next/server'
import type { NextRequest } from 'next/server'...Host pdf files locally or online
Jest on dynamic routing
Error: Uncaught [TypeError: Cannot read property 'query' of null] error?
```js
import Scholarship from '../pages/scholarship/[id]'
describe('Single scholarship page', () => {...Why is noUncheckedIndexedAccess enabled by default?
create-t3-app and I was getting all these type checker errors throughout my code, which forced me to manually reassert types all over the place. Setting "noUncheckedIndexedAccess": false in tsconfig.json solved the problem with my type checker but I'm left wondering why this was enabled by default in the first place. Manually reassert types all over the place seems to run contrary to this discussion: https://www.youtube.com/watch?v=RmGHnYUqQ4kT3 Docs - code explanation
Astro or NextJS for single page website with contact form?
converting TailwindUI syntax documentation to a page in my app.
How to use tailwindui app shells with t3
Large POST request on ESP32 over SIM
Next 13 AppDir + middleware
pages dir, all pages were rendered correctly but it seems like middleware was not firing.
Is this not yet supported ? I couldn't find anything in the stable or beta docs of Next...
How to trigger NextJS Image fetch again if not loaded in 3 seconds
Im converting my old code to Typescript, I need help with a functions.
Getting user IP in trpc without req object?
Set value based on current
can i export data from reactQuery?
data[] from an API using reactQuery but the problem I'm facing here is that i need to export all the properties decontructed from reactQuery such as the data[], isLoading, error so that i can be able to use it in another component, is this possible?
I name the file userData.tsx
```export const UserData = () => {
const { data, isLoading, error } = useQuery<User[], ErrorConstructor>("query-users", async () =>{...
Filter Query with multiple parameters
Make an object with the same structure but modified values
React Native + Web + Next.JS
How to create object in prisma models (MONGODB)
orderData = {name, email, service, note}
orderData = {name, email, service, note}
