Category "web"

Add {NavLink} to React Component Showing Blank Pages

I'm new to React.js and already make new react app using : create-react-app I already install dependency react-router-dom var React = require('rea

Module not found: Error: Package path . is not exported from package

import firebase from 'firebase' const firebaseConfig = { apiKey: "AIzaSyBOK7x5N5UnjY4TDqndzH7l5tvdNIsWFRc", authDomain: "todo-app-e3cf0.firebaseapp.com",

codemirror.setOption('mode',val) isnt working

I am trying to make a text editor with firepad and codemirror, everything works perfectly on page loading, but when I try to change the mode on button click, th

FirebaseOptions cannot be null when creating the default app

I am trying to try a sample project in Flutter integration email and google based login, and planning to use firebase initialisation for doing it while I have f

Javascript bookmarklet for toggling webpage editing on/off?

I once saw a JavaScript bookmarklet on the internet, but I lost it. The bookmarklet does not specifically enable/disable the page editability, but it does togg

Flutter Web : "Should never encounter KeyData when transitMode is rawKeyData."

When I run my project on web the Exception message and stack trace was "Should never encounter KeyData when transitMode is rawKeyData." at Object.throw_ [as

Spring boot: JSP not found (404)

I'm trying to create a new project with spring boot. But I'm getting Error described below. I have added my code. Error HTTP ERROR 404 page not found He

Domain Name Regex Including IDN Characters c#

I want my domain name to not contain more than one consecutive (.), '/' or any other special characters. But it can contain IDN Characters such as Á, 

mixed payload data fields in react signup form

I am really new to react i created a sign up form but when posting data values are mixed I created onchange and onsubmit to track changes and submit the to back

preconnect vs dns-prefetch resource hints

https://www.w3.org/TR/resource-hints/ If I understand correctly, both are used to initiate an early connection to load resources faster at a later time. preco

Charts.js how to set zero-value on axis?

I'm trying to implement a horizontal bar chart with Charts.js (sample page) Standard behavior is, that the bars split at the "mirror line" at "0" See image How

unable to resolve dependency tree error for creating new angular project

so today I wanted to create a new Angular project using the command ng new <projectname> and I got this error: npm ERR! ERESOLVE unable to resolve depende

Blockly: Update other inputDummy dropdown fields based on selection of a inputDummy dropdown field

I've been trying to make a custom block in the Blockly workspace that changes the options in drop-down fields based on the selection of a previous drop-down fie

Blockly: Update other inputDummy dropdown fields based on selection of a inputDummy dropdown field

I've been trying to make a custom block in the Blockly workspace that changes the options in drop-down fields based on the selection of a previous drop-down fie

Website Performance Issue [closed]

If a website is experiencing performance issues all of a sudden, what can be the reasons behind it? According to me database can one reason or

How REST API handle continuous data update

I have REST backend api, and front end will call api to get data. I was wondering how REST api handles continuous data update, for example, in jenkins, we wil

Failed to load resource: the server responded with a status of 502 (Bad Gateway)

How can you solve a 502 error? I believe whats causing the 502 error is a nested loop that contains heavy calculations. It would take up to 2 minutes for it t

convert recording audio to buffer

I want to record audio in javascript and convert it to a buffer at the time (not saving it to a file and then converting it to a buffer). how I can do this? I t

Spring boot + thymeleaf in IntelliJ: cannot resolve vars

I'm writing a short web form application using spring boot and thymeleaf on IntelliJ, but it seems that in the html file, all fields in the model cannot be reso

add a serial number while performing iteration in thymeleaf

I have a senario in which i must perform iteration on a list and display result as a grid.Also include serial number in it. Now what I did for serial number is