일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- JavaScript
- middleware
- blockchain
- hardhat
- Interface
- 기준
- HTML
- web
- express.js
- evm
- SSR
- nextJS
- bitcoin
- concept
- CLASS
- Ethereum
- tailwindcss
- Redux
- REACT
- CSS
- node.js
- useState
- graphQL
- built in object
- 삶
- API
- Props
- typeScript
- solidity
- error
- Today
- Total
목록Frontend/Error (10)
ReasonJun
Problem : I am currently using an M1 PRO MacBook with dual monitors in FULL-HD quality. I have my code on the MacBook screen and the webview on the dual monitors. I thought it would work fine, but the cursor pointer doesn't work in FULL-HD and the CSS event effects look different. m1 pro macbook screen : full-hd screen : GPT 4O says it may have the following issues : Explanation for CSS Ev..
error: Why: Basically this working message comes. Because of eslint. "next/babel" is basically the presets that are created by Next for the eslint. Solution: Reference: https://www.youtube.com/watch?v=nEA1wS3ZncU https://nextjs.org/docs/pages/building-your-application/configuring/babel Configuring: Babel | Next.js Using Pages Router Features available in /pages nextjs.org
Problem : In the process of assigning the modified value in 'setTags' to the 'onChange' function, the value was updated one beat slowly. code: import React, { useState } from 'react'; interface ImageUploadProps { onChange: (value: string[]) => void; errors: any; } const TagInput: React.FC = ({ onChange, errors }) => { const [tags, setTags] = useState([]); const [tag, setTag] = useState(''); func..
In the part where you specify 'useForm', it is recommended to specify only one button: submit. If another button exists and it uses the lib as the useForm, submit will be executed. Instead of button, it is better to specify another div and set onClick.
code: Error not scrolling after navigating to '/User/Transactions/' const onDelete = () => { setLoading(true) axios .post('/api/delete/my-transaction', { transactionId: transactionId }) .then(() => { toast.success('Complete deletion of transaction'); router.push('/User/Transactions/'); }) .catch((err) => { toast.error(`Fail: The delete failed.`); console.error(err); }).finally(() => { setLoading..
The useState hook is designed to be used within a functional component, and it cannot be used inside an asynchronous function. In Next.js, async operations are typically handled using the useEffect hook or by using server-side rendering (SSR) or static generation (SG) methods. If you need to perform an asynchronous operation and update state based on the result, you can use the useState hook in ..