477,160 questions
-2
votes
0
answers
13
views
Does freeCodeCamp gives you a certificate after completing the course? [closed]
I hope everyone is doing well! I just had a question for the community!
Does freeCodeCamp gives you a free certificate after completing the course for full stack developer? Cuz my worry is that if I ...
-3
votes
0
answers
22
views
Cannot update a component (`WorkFlowProvider`) while rendering a different component (`AgentBuilder`) [duplicate]
Cannot update a component (`WorkFlowProvider`) while rendering a different component (`AgentBuilder`). To locate the bad setState() call inside `AgentBuilder`, follow the stack trace as described in ...
0
votes
1
answer
26
views
Use selectedRecords prop in mantine datatable without displaying checkboxes
I have a mantine-datatable that I would like to use the select functionality, but I don't like the checkboxes that come out of the box when you provide the selectedRecords prop.
Is it possible to &...
0
votes
0
answers
41
views
TanStack Table component (LibraryTable) doesn't re-render and change UI on rowSelection, sorting state change, but LibraryGrid does
I'm building a "Library" page in a Next.js/React app using TanStack Table v8 (@tanstack/react-table).
My architecture follows the Feature-Sliced Design (FSD) pattern:
LibraryProvider: A ...
-1
votes
0
answers
28
views
Unit test for React/Chakra
This is my parent component.
import { useState } from 'react';
import VButton from 'ui-components/src/v2/VButton.jsx';
import { Provider } from 'ui-components/src/v2/providers/chakra.jsx';
import { ...
0
votes
1
answer
16
views
When upgrading to React 19 and NextJS 15, jest snapshots that had header changes via `next/head` break
In our tests, we had several snapshots that included content wrapped in next/head. We had previously followed the below pattern for the mock, which allowed us to see all the header tags like meta, ...
-2
votes
0
answers
41
views
How can I implement detailed user activity and environment logging in a React app to reproduce hard-to-debug issues? [closed]
I'm building a React web app where users sometimes report vague problems like:
This part isn’t working
or
It works on my phone but not on my laptop.
When we try to reproduce these issues, they ...
-1
votes
0
answers
38
views
Generic context selector with `use-context-selector`
I have a generic FormProvider like below:
"use client";
import { useMemo } from "react";
import {
FieldValues,
FormProvider as RHFProvider,
SubmitErrorHandler,
...
Advice
0
votes
4
replies
36
views
How to access React context for base URL when creating Redux-Toolkit Query API slice?
I am trying to move to RTK Query, but am struggling with one thing - how to access React Context.
I currently am using custom hooks to query a back end. Depending on the environment (dev, uat, prod), ...
-1
votes
0
answers
18
views
How do I create a custom visualization plugin for Apache Superset 3.1.0 that renders a MapLibre GL map (MapTiler style.json)? [closed]
I am developing a custom visualization plugin for Apache Superset 3.1.0 using React and TypeScript.
The plugin should render a MapLibre GL map using a MapTiler 'style.json' and plot points from query ...
-1
votes
0
answers
24
views
Can't run Jest tests inside Rider with turborepo architecture
I'm working in a React + TypeScript app and I have my tests written using Jest. I'm using IntelliJ Rider to run/debug my tests. We are using Docker to locally deploy the app and Yarn.
We just recently ...
-1
votes
0
answers
23
views
Electron-Vite App seemingly not loading preload script
I'm trying to access a local sqlite3 database using ICP. When I run the handleSubmit() function in my Login component, I receive the following error:
Uncaught (in promise) TypeError: can't access ...
Best practices
1
vote
2
replies
97
views
What is the best modern approach to creating sitemaps in React production apps?
I'm currently working on a production-ready React application built with React Router v7 and Vite. I need to implement a proper sitemap to improve SEO performance.
Tech Stack:
React 19 with ...
1
vote
1
answer
94
views
Include html entity in react textarea placeholder / javascript string?
I want to put linebreaks in a placeholder for a textarea. According to this question & answer, I should add html entity wherever I want a line break. This seems to work when I try it in ...
0
votes
1
answer
48
views
Using TailwindCSS v4 in Bun SSR - how can I integrate it?
The TailwindCSS website currently doesn't have any guidance related to Bun, so it's difficult for me to figure out how to properly integrate v4 with Bun SSR. I found a bun-plugin-tailwind dependency ...