Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
1 answer
40 views

Angular JS to Angular 18 migration

I'm trying to create a hybrid Angular JS Angular 18 application, and at first the application was running fine with this setup: upgrade-module.ts import { DoBootstrap, NgModule } from '@angular/core'; ...
Some d's user avatar
  • 75
-1 votes
0 answers
26 views

How to use subdomains and routing after Clerk authMiddleware() deprication?

I need to code this: TypeScript export default authMiddleware({ publicRoutes: ['/site', '/api/uploadthing'], async beforeAuth(auth, req) {}, async afterAuth(auth, req) { //rewrite for ...
user25541224's user avatar
0 votes
1 answer
47 views

Creating [slug].tsx in Next.js Page router

I am trying to develop an app in Next.js using the page router framework. So for each component I have page.tsx under relevant folder name. For a particular component I need to have slug for routing, ...
user17449555's user avatar
0 votes
0 answers
17 views

Page.tsx file being Greyed Out in Next.js 14 App Router

I have a Next.js 14 project with over 10 routes, all of which are working fine. However, when I try to add any new route with a page.tsx file, it appears greyed out, and I am unable to commit it. This ...
Farhan Ajmal's user avatar
1 vote
1 answer
37 views

How to send data from multiple screen to one single screen in React native

i have basically four screens and i am sending the data to other screen. for example i am sending the data from Home to ListScreen with some items from flatlist then i am also sending the other data ...
jACOB Alex's user avatar
0 votes
1 answer
165 views

Angular 18 falsely throwing a routing error, despite the routes previously working fine

Background: I'm integrating a login component that includes Google authentication. Upon successful authentication, user information is obtained, a token is generated, and then sent to the backend for ...
Hamzah Alkhateeb's user avatar
0 votes
1 answer
48 views

How to pass route children to root App in SolidJS in typescript?

I am trying to figure out to pass route elements to root element in typescript. I am currently using "@solidjs/router": "^0.13.6". Here is a demo of what I want to achieve. I want ...
Dukhi Atma's user avatar
1 vote
1 answer
71 views

Angular 17+ Standalone Modules

I've used Angular before, but an earlier version. Can someone educate me on why my routes for my navbar doesn't work with my Contact Page. Here is the link... https://github.com/Logan-0/ngPersonal My ...
BabyLogan's user avatar
1 vote
0 answers
26 views

Is there any way we can use lazy loading in the routing module of the file in which we are using <router-outlet>?

I am making a page in angular v12 and i am using router outlet in one of my component so that it can be reused. There is a property (output emitter) of router-outlet known as activate that get ...
Pavnesh Silori's user avatar
0 votes
0 answers
21 views

I have a function in a nested component in Route /Home , I want to call the same function in route /Login without navigating to Home

What are the possible ways I can call a function from one component that is nested in one route to another route, without navigating One approach I could think of is passing the fn as props But what ...
user101's user avatar
  • 13
2 votes
1 answer
40 views

Refresh the page in Angular or manually entering the desired path, redirects to the home page

I am using Angular 11. My project was working fine and suddenly I faced an issue: When I use routerlink to address a specific path, it redirects correctly to that path, but when I try to access this ...
Mouna's user avatar
  • 51
0 votes
0 answers
36 views

React + FastAPI: 404 Error When Navigating to New Route in Sidebar

I'm working on a project using the Full Stack FastAPI Template. The technology stack includes: FastAPI for the backend with SQLModel for ORM, Pydantic for data validation, and PostgreSQL as the ...
E.Mohammed's user avatar
0 votes
1 answer
36 views

Next.js API POST method doesn't show data in endpoint

When I'm trying to make a POST request from my frontend side in Next.js project (with TypeScript), my API endpoint doesn't show desired JSON data, but only empty hyperlink string leading to nowhere. ...
Yulo's user avatar
  • 1
2 votes
0 answers
204 views

How to Modify Middleware to Handle Two Route Groups in Next.js

I'm working on a Next.js project where I have two route groups, (auth) which contains my auth pages and (root) which contains the dashbaord and other pages and a homepage "/. I have a middleware ...
Kano Dekou Billy Brown's user avatar
0 votes
1 answer
84 views

Getting "Method not allowed" in next js using API routes

Trying to use API routes in next js to call an api with POST method from server side, but getting "Method not allowed" error. My page.tsx has a form; submitting the form must trigger ...
rashmor's user avatar

15 30 50 per page
1
2 3 4 5
43