476,194 questions
4
votes
3
answers
29k
views
i18next/i18n Change Language not working with the whole website
I'm doing a react-typescript app where I need to be able to translate the site. I'm using the i18next library. In the main page the user can change the language using a button which runs this method.
...
-4
votes
0
answers
60
views
How to run a Vite dev server remotely [closed]
I am trying to build a simple web app. I have Python/Flask for the backend, and running React with vite for the frontend.
Here is my setup:
The VS Code server runs on a Synology DS423+ as a container....
3
votes
2
answers
7k
views
Binding element 'children' implicitly has an 'any' type.ts(7031) in Next.js
While developing my personal portfolio using Next.js, I ran into an error where the prop "children" was not working. I am using tsx.
Layout.tsx
import styles from "./layout.module.css&...
-1
votes
1
answer
83
views
Invalidate queries with subquery
Consider the following:
const useFetchPosts = (params?: Record<string, string>) => {
async function fetchPosts({
queryKey,
}: {
queryKey: [string, Record<string, string> | ...
1
vote
1
answer
787
views
Does closing a command line window stop an Expo server?
I'm developing an app using Expo. I know to close an expo server you press Ctrl + C, but if I just close the command line window will the server close?
I closed the CLI without using Ctrl + C to close ...
0
votes
0
answers
66
views
I'm unable to send events to iframes stored in cache, not in dom React
I'm working on a React app where I dynamically create multiple iframes and cache them for later reuse.
I want to:
Preload iframes without immediately appending them to the visible DOM
Store them in a ...
-1
votes
1
answer
362
views
React On Rails gem with Rails API
I'm trying to run React on top of a Rails API. I created the Rails app with the --api flag so I could make it as minimalist as possible and I chose the react_on_rails gem to make React work on top of ...
2
votes
2
answers
53
views
change Emmet abbreviation ".." from 'styleName' to 'className'
In reactJs, using the '..' in emmet abbreviation will transform
div..parent
to this
<div styleName={styles.parent}></div>
but does anyone know the abbreviation that uses className ...
-1
votes
0
answers
37
views
Arabic text randomly changes to different Arabic words in some clients [closed]
I have a web application opened on mobile phones.
It's a React application built with Vite and we use:
i18next
react-i18next
to handle localization.
Arabic is the default language and the Arabic ...
3
votes
2
answers
12k
views
custom ag-grid-filter using dropdown for filtering particular column using react-redux
I am working on a project which requires ag-grid-filter outside with dropdown which will filter out the result of one column.
I have tried to do this using react and redux form.
<select id="ddl" ...
-4
votes
0
answers
59
views
TypeError: Unknown file extension ".jsx", when test React component with Mocha
I have a problem with testing components of my React app (Music playlist app) with Mocha.
Project root directory:
-node_modules
-public
-src
|_assets
|_components
|_App.css
|_App.jsx
|...
2
votes
4
answers
10k
views
Next JS Build Swiper JS Issue with Tailwind CSS
I set a project with NextJS, Tailwind CSS and Swiper JS.
When I run Yarn Dev I can successfully display my Swiper Slider without any error
However, once I built the project and run Start I am facing ...
Advice
0
votes
2
replies
60
views
Just created an application for job enchancement
I recently built a web app called Role Accel that helps people practice for tech interviews using AI.
Some of the features include:
- AI-powered mock interviews where the system plays the role of a ...
54
votes
5
answers
43k
views
How to configure ESLint for React in the Atom editor
In the Atom editor, I installed the following plugins
linter
linter-eslint
It seems they don't recognize the JSX syntax.
I have it working on the command line, but I had to use other plugins, like ...
1
vote
1
answer
13k
views
Validate email input field form element
Possible to validate multiple emails seperated by commas with react-hook-form .
So I have a material-ui text field which is uses react-hook-form for the validation..
Initial the input field takes a ...