Skip to main content
0 votes
0 answers
14 views

What is the recommended way to profile memory leaks in React Native — JS-level DevTools or native profilers?

What is the recommended way to profile memory leaks in React Native — JS-level DevTools or native profilers In a React Native app (using Hermes), I want to detect and fix memory leaks. There seem to ...
Siddhant Shelake's user avatar
0 votes
1 answer
37 views

testing an useState change inside a callback

I have a component like this to test: import {doSomethingMocked} form 'mockedLibrary'; const TheComponent = (props) => { const [isToTest, setIsToTest] = useState(false); const handleClick = ...
Daniel Reinaldo Zorro Forero's user avatar
-2 votes
0 answers
23 views

How to send a print command from a web application to a Bluetooth Brother label printer? [closed]

I am developing a mobile web application (React/JavaScript) that needs to send print commands to a Brother label printer (model TD-2120N / QL series) connected via Bluetooth. Using the browser's ...
Premkumar Doddmani's user avatar
0 votes
1 answer
46 views

React-datepicker stay placeholder and dividers like in native HTML

I'm new to React and since I needed to restrict the native <input type="date"> (e.g. grey out weekends and UK bank holidays), I switched to react-datepicker where it's available. Now I'...
mr_muscle's user avatar
  • 2,940
-2 votes
0 answers
19 views

When the drawer is attached a specific <div>, the open animation slides in the background instead of the drawer itself

We are using the MUI Drawer component. When the drawer is attached to a specific <div> using the Modal tag, the background page (not the drawer) slides into position instead of the drawer. The ...
Developer's user avatar
0 votes
0 answers
24 views

React PDF and React PDF Viewer packages version upgradation Issues

I have a React Typescript application. Node version: v16.12.0. Below are the versions of react "react": "^19.1.1", Here there are three packages related to pdf: react-pdf-viewer (...
Sridivya_pulapa's user avatar
0 votes
1 answer
31 views

React Native Modal not showing properly when opening after focusing TextInput (Expo + KeyboardAwareScrollView) react-native-keyboard-controller

I’m developing a mobile app using React Native + Expo. On one screen, I wrap all my inputs inside KeyboardAwareScrollView. Besides the inputs, I also have a simple Modal that only contains some text ...
David's user avatar
  • 174
0 votes
0 answers
10 views

How to bundle with tsup with single entry point with multiple bundled files?

I have a React ui library that use tsup to bundle. Below is my setup. import { defineConfig } from "tsup"; export default defineConfig({ entry: [ "src/index.ts", "...
Kate Tang's user avatar
0 votes
0 answers
28 views

Unable to use DaisyUI themes beyond dark and light in React (Vite)

I am using DaisyUI in a React + Vite project, but only the dark and light themes are working. When I try to apply other themes (such as retro or any of the additional DaisyUI themes), they do not work,...
Ahmed Kamal's user avatar
1 vote
1 answer
30 views

Infer types from zod schema in TSX React Components in Astro to avoid code duplication

I use React components in an Astro application that defines its data schema using Zod. How can I infer the schema instead of duplicating 90% of its in a TypeScript interface? Zod: // content.config.ts ...
Ingo Steinke's user avatar
1 vote
2 answers
23 views

react-i18next getting error generic type 'TransProps' requires between 1 and 6 type arguments

Not able to understand how to extends TransProps of react-i18next to create CustomTrans Component. Repo to reproduce import { TransProps, Trans } from "react-i18next"; interface ...
Soul's user avatar
  • 19
1 vote
0 answers
11 views

Inertia routes return 404 (Not Found) for app deployed in subfolder

I have deployed a Laravel 12 + Inertia.js (React) app on a shared hosting (cPanel). The app is located in a subfolder: https://mydomaine/app/. Authentication routes like: https://mydomaine/app/login ...
kamal ennaji's user avatar
0 votes
1 answer
43 views

DataGrid UL in column only renders first LI

I have a MUI data grid that renders a UL element for a column, like this: renderCell: (params) => { return <ul> <li> ...
mikeb's user avatar
  • 11.5k
0 votes
0 answers
21 views

Virtualization doesn't work in PrimeReact's ListBox

Versions: "primereact": "^10.9.7" "react": "^18.2.0" I've added a component like this: <ListBox filter multiple value={myValue} options={...
Vladislav Maksimov's user avatar
-1 votes
1 answer
20 views

How to use gltfjsx to create a jsx file to load a glb file but change material colors from each call to the transformed file/model?

The best example is this sandbox https://codesandbox.io/p/sandbox/re-using-gltfs-forked-nl2mm9?file=%2Fsrc%2FApp.js%3A18%2C1 It loads a glb model within a function that allows the properties to be ...
Biaspoint's user avatar
  • 571

15 30 50 per page
1
2 3 4 5
31865