I created two color picker to change table colors in html using input, but i don't know how to change those colors based off what user picks in color picker. I
Can someone help me in solving this error. I am unable to rectify this error. this is what i got in the browser's console const Cart = ({ cart }) => { co
I want to write a unit test for a controller in NestJS which uses the service. Service uses an entity and typeorm to getting data from postgres. controller.spec
I have a svelte page to show a list of post, I need to give the user the ability to filter that list by several conditions, eg: year, tags, category, etc. All t
I've been facing this issue for the past few days. I digged as far as i could on it and couldn't find a solution. I'm using React Native 0.64.2 and the last Fir
Got an interesting problem withs refs. I'm mapping over a component and rendering it multiple times and passing a ref to each one const ref = useRef() {data.ma
I seem to have a logical misconception, regarding the matrix of svg elements, specifically the parts e and f, which I hope someone can help me clarify. Basing o
Im trying to make a floor planner like page for tables of a Restaurant. Every square of the page represent a table and they are draggable. <div id="drag-1
If my data is: [ { key1: true, key2: "value1" }, { key1: false, key2: "value2" }, ]; What kind of custom flow type
type WeirdCustomType = {[int]: boolean, ...}; What kind of structure is WeirdCustomType? Is it simply an array of {int:boolean} types ? (ie, key is an int, va
I am trying to use createEntityAdapter from reduxjs/toolkit to generate selectors automatically. I have created a "select all" selector successfully using creat
The session is not working properly in PHP. The login page is working fine. But after redirecting to my home page I couldn't able to see my login details it thr
I want show_name() to run and then call another function. I don't understand why show_name().then fails. I'm probably overlooking something. async
I am having a hard time to render my footer column in a reactable. I want to use JS here to access the client-side filtered state, and since iam not too familia
This is the function i run on OnChange in AvField let selectedFieldArray = [] const templateValue = (e) => { const fieldObject = { "id": e.target.
class SudokuSolver { // check for string being sudoku validate(puzzleString) { const puzzleArr = puzzleString.split("") const digitCheck = puzzleAr
I'm currently working on a PWA build with React. I'm looking for a way to create one object which contains information like the current time (incl. seconds), cu
I want to query on multiple fields based on multiple in conditions as shown below: db .collection(firebasePaths.funfuse_verified_users) .orderBy('uid')
I need to add a button after select This I have seen that they do with the input in the documentation enter link description here Now I try to do it with the
I am getting this warning in react: index.js:1 Warning: Cannot update a component (`ConnectFunction`) while rendering a different component (`Register`). To l