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

Questions tagged [jsx]

For questions about the JSX syntax used by React.js, Vue, and other front-end JavaScript frameworks that allows inline XML literals to be used in JavaScript to describe HTML elements. If your question is about Adobe's extended implementation of JavaScript (ExtendScript) which is at least five years older than React.js, use the [ExtendScript] tag instead.

-4 votes
0 answers
14 views

I'm unable to see output on screen using Tailwind css [closed]

enter image description here after trying multiple things i'm still unable to see tailwind css components on screen.... Someone pls help. I have already done many things. I doubt there's something to ...
Abdul Majeed's user avatar
0 votes
0 answers
8 views

Lightningchart JS - Chart is not interactable

I have 5 different line charts being rendered in my React app. Below is one of the methods to create those charts. function createEcgHeartRateChart( response: any, startInterval: string, ...
Anish Arya's user avatar
-2 votes
0 answers
24 views

React app is giving me CORS policy error. How can I fix it?

I'm trying to make a login page in React using Vite. To verify login credentials I have created an API in PHP. When I test the API with Postman it returns a data but with my react application it is ...
Muhammad Ahmad Chattha's user avatar
0 votes
1 answer
34 views

How to load a image from a nested JSON file into react along with other content

I have recently encountered a problem while trying to load a image from my nested JSON file. the image is loaded along with other JSON content in a accordion but for some reason the image loads with ...
Mamadi's user avatar
  • 1
0 votes
0 answers
18 views

Dynamic Import in a react application

I have a react application, it has a list of components (kind of key/value - the key is the name of the component and the value is the function e.g () => return (<>hello</>) and I will ...
Adedeji Yusuf's user avatar
-2 votes
0 answers
24 views

Javascript returns NaN only on IOS [closed]

function Price({ formValues, room, bookingDays }) { return ( <div className={styles.priceWrapper}> <p>{Number(bookingDays)}</p> Price for {formValues.guests} {...
Gabriel's user avatar
0 votes
1 answer
35 views

Python - Adobe InDesign Javascript Scripting Help to Call JSX from Python

I'm trying to call Adobe InDesign JSX file from a python, below is the sample code: I wanted to run this on Adobe InDesign 2024 or higher version. I saw some samples on Python InDesign scripting: Get ...
user3391612's user avatar
-2 votes
0 answers
26 views

SyntaxError: The requested module '/src/App.jsx?t=1721619080371' does not provide an export named 'default' (at main.jsx:3:8) [closed]

I'm making a Nike landing page using tailwindcss and got the following error Uncaught SyntaxError: The requested module '/src/App.jsx?t=1721619080371' does not provide an export named 'default' (at ...
Sri Harsha Tenneti's user avatar
-5 votes
0 answers
31 views

Casing error in my project for Context.jsx [closed]

I cleared cache and installed dependencies from bun but still it is encountering the casing error I am doing a frontend web dev project for gemini clone but when importing the Context.jsx file which ...
Saksham Gulati's user avatar
0 votes
0 answers
29 views

Change site name [duplicate]

I can’t change the site name, I tried adding a tag <meta property="og:site_name" content="sitename"> tried schema.org <head> <script type="...
proton's user avatar
  • 1
-1 votes
0 answers
23 views

What's the difference between component as prop or rendered component as prop (see examples below)

Let's say I have a conponent name Child: const Child =(props) => <div {...props}/> and a parent component Parent, getting this component as prop named ComponentProp. What is the difference ...
yoty66's user avatar
  • 570
0 votes
1 answer
43 views

NextJS App Router: How to access child component properties in layout?

To make use of the layout feature in the NextJS's App Router, I want to dynamically update the page title (<h1> tag, not metadata like <title>) on the layout depends on what the page ...
Jamie Phan's user avatar
1 vote
1 answer
34 views

Is there a way to redirect to different links depending on the user's status?

import React from "react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import Link from "next/link"; import { ...
Jean Mako's user avatar
3 votes
1 answer
81 views

Fixing Transparent Line Between Div with Clip-Path and Parent Div

A thin, transparent line appears between the triangular div and its parent div when zoomed. I believe this is likely caused by anti-aliasing in the browser. If there is a way to fix this, I would ...
Mr.Unknown's user avatar
0 votes
0 answers
23 views

How to Wrap FlatList rendered Items in a Fixed-Height Container in React Native?

I have a problem where I want to render a list of items using FlatList, but I expect a large number of items and want to wrap these items in a container with a fixed height. This is to save screen ...
Kalin Toshev's user avatar

15 30 50 per page
1
2 3 4 5
623