Questions tagged [reactjs]
React is a JavaScript library for building user interfaces. It uses a declarative, component-based paradigm and aims to be efficient and flexible.
reactjs
479,631
questions
0
votes
0
answers
18
views
Is it possible to absolute position a conatiner to the left of a scrollable conatiner
My issue is that i have code something similar
<div className='flex flex-col'>
<div className='rounded-lg p-4'>
<div className='relative'>
<div className='absolute ...
-1
votes
0
answers
8
views
npx error. the npx did not run what should i do for this
npm error could not determine executable to run
npm error A complete log of this run can be found in: C:\Users\Manuj\AppData\Local\npm-cache_logs\2024-07-19T07_10_33_916Z-debug-0.log
i try to run npx ...
0
votes
0
answers
15
views
Filter out components that return null
I have this scenario:
const Comp = () => {
const record = useRecordContext() // local context
const {read} = usePermissions(record.type) // global context
const somethingElse = ...
0
votes
1
answer
21
views
TypeError: Cannot create property '375' on number '1'
I'm trying to create an algorithm visualiser for heap sort. In order to keep track of the swaps that happen during the heap sort execution, I created an animations array that will include the indexes ...
0
votes
0
answers
26
views
Not able to get inside the for loop in React js
I am making a To-Do App. I am using React frontend, Node backend, and Postgresql DB.
I made a component called <TaskLists /> which takes three properties or props:
startDate
endDate
allTasks
...
-1
votes
0
answers
11
views
I want to divide childrens by their props. but the result value of console.log is different by using "use client"
I want to divide childrens by their props.
for example, if children has classname "ABC", It is not displayed.
Not using "use client",
enter image description here
type is "div&...
0
votes
0
answers
16
views
Nextjs how to fetch data, while you font want the user have access to the fetched json data
Using Next.js, I want to implement the best practice for fetching polygons and displaying them on a map, while ensuring that the user is unable to see the data in the network tab.
I have tried using ...
-1
votes
1
answer
16
views
Custom Payment Gateway in Shopify like razorpay
I want to create Custom Payment Gateway in Shopify like razorpay.
I have knowlage about remix, react, typescript and node js.
Refrence:- https://github.com/RoopkamalDhindsa/shopify-extensibility-...
0
votes
0
answers
7
views
Fluent UI Textarea with Multiple Placeholders in SPFx
Microsoft Designer has a textarea for capturing prompt. It has a really nice interface for placeholders, where instead of a single placeholder text throughout, its a combination of static text and ...
0
votes
0
answers
14
views
React FileReader and AudioContext issues on iPhone
Answer please
I am working on a React project where I need to extract audio from a video file, process it, and upload it for analysis. The code works perfectly on desktop browsers and Android devices, ...
0
votes
1
answer
5
views
How to use WASM Tiktoken in React Webpack JS
The build issues due to wasm instantiate or wasm not being imported.
wasm.__wbindgen_add_to_stack_pointer is not a function
0
votes
0
answers
16
views
Origin type array not working in nextjs-cors
In the official CORS package of nextjs-cors documentation, I see that an array of domains can be passed as origin value: https://github.com/expressjs/cors#configuration-options
here is a code snippet
...
0
votes
0
answers
8
views
How Do We Make Scoped Styling In Our Pages Folder a Higher Priority than Our Global Styling?
I'm working on a project that uses Gatsby 5.12.11 and I ran into an issue with styling components in the pages folder. I'm using a CSS framework I created called srcry css which has a couple classes ...
-5
votes
1
answer
29
views
"Advice for Becoming a React Developer After Manual Test" [closed]
I have been doing manual testing for 2 years. Before this, I had a software development career. Now, I am curious about the JavaScript library and React. Can you tell me what I need to do to become a ...
0
votes
0
answers
10
views
ThreeJS hitbox manipulation
Very new here, apologies if this is super basic.
I have a sphere. I want to:
Be able to create zones on the mesh. So at a start there will be one zone completely around the mesh. This is essentially ...