Questions tagged [react-fullstack]

React (sometimes styled React.js or ReactJS) is an open-source JavaScript library for data rendered as HTML.

375 questions
2
votes
1 answer

Proxying requests from client react app to server with create-react-app and webpack dev server

Trying to create server side API for the client application. The client is written completely on react. In development is served with webdevserver on port 3000. The server is listening on port 3001. I've added proxy to the package.json file of the…
1
vote
1 answer

How does Loader work with two parameters?

I'm trying to learn how to use Loaders in React-router-dom and can't get two parameters working. export const loadConvoMsg = ({conversationId, courseId}) => async () => { console.log('convoIDLoad', conversationId) console.log('courseIdLoad',…
bluelemur
  • 33
  • 4
1
vote
1 answer

if select option select fixed then input field type rupees support 20 digit with rupees symbol if select percentage then replace rupees symbol

if select option select fixed value then input field type rupees value support only 20 digit with rupees symbol. if select percentage then replace rupees symbol with percentage of symbol and value type only 2 digit input value with percentage symbol…
1
vote
1 answer

Next.js 13 GitHub OAuth not working correctly, somehow signs me into Discord?

I'm having a very peculiar issue with my app... I have OAuth 2 implemented with GitHub, Discord, and Google. Google and Discord work, but when I attempt with GitHub, it signs me into my Discord. This problem persists through development and…
1
vote
0 answers

When I press the button, I can't get the new information immediately. The process takes place according to the old information

I'm very new to react. There is a place where I'm stuck. I have action buttons. When I press one, firstly it is checked whether it has been liked before, and then I use useMutate to remove the like if it is liked, and to create the like if it is…
1
vote
0 answers

Javascript fetch API using HTTPS when clearly using HTTP on a WeatherStack endpoint

Here is the code im using in a top level Weather Component. I'm fetching on the client side using create-react-app on localhost:3000. const fetchWeatherData = async () => { try { (NOT A…
1
vote
0 answers

How can I post to my WhatsApp status using JavaScript?

I'm looking for a way to programmatically post things to my WhatsApp status using JavaScript. I want to automate the process and make it easier to share updates with my contacts. Are there any APIs or npm packages available that can help me achieve…
Benjamin
  • 11
  • 1
1
vote
0 answers

How to upload some images from back express/node and render in front with React

I'm working on a full-stack project using React, Express, and Node. I have created a JSON file on the backend with some information such as name, description, and pictures. Here's an example: id: 1 name: Earth description: The Earth is a…
Blake
  • 21
  • 2
1
vote
1 answer

I am getting npm error while installing the React.js in my Visual Studio code editor

I am using node.js (16nth version) in my Visual Studio code Editor. But while installing the react.js I am getting error I tried in many ways like I installed different versions of node.js . But Every time I am getting same error. So Please help…
kalyani
  • 11
  • 3
1
vote
1 answer

How to send Post Request from axios, can I right

axios.post(url, { data : obj}) I attend a interview and interviewer say question post from axios
dalpat raj
  • 11
  • 2
1
vote
0 answers

How to connect AWS Cloud9 environment to VS Code?

I want to connect my AWS Cloud9 environment to my VS Code i.e. I will write my code in VS Code and it will show changes in my environment. Is this possible? If it is, please share how to do it - I found it very difficult to work with AWS instance as…
1
vote
1 answer

Is it possible to serve React from Node?

I'm new to back-end coding, and I'm struggling to understand exactly what a "fullstack" app would look like. Is it: A Node-Express server that serves index.html, which has in it (If this is the case, how would the…
vietan
  • 126
  • 1
  • 7
1
vote
0 answers

How should I go about hosting/deploying my frontend and backend? Separately or together?

I recently wanted to make a simple website using strapi as the backend cms and react for frontend. Now, every tutorial I watched on this ended like this: - Backend in one directory - Has a git repo in it - Api and admin dashboard hosted on…
Confuze
  • 37
  • 1
  • 7
1
vote
0 answers

node/express+React, stream multiple videos from folder on one page

Personal Introduction: Hi, to everyone im new to backend technology so I premtively give my apologises for being imprecise or for using bad terminology. Brief Description of my small project So, the image below is a brief description of the…
1
vote
1 answer

Trying to render 2 methods on useEffect but getting only one's Result

I am trying to render 2 methods on useEffect but the problem is they both get rendered but somehow the method which gets rendered at 2nd place replaces the content of first method In short: I am only getting output of 2nd method, first method's…
1 2
3
24 25