12 2021 档案
摘要:For older applications, it's likely that you have some Class components. TypeScript works a little differently with these. The React.Component class i
阅读全文
摘要:Our Radiocomponent file contains several compound components to create a related group of radio inputs. The RadioGroupContext is receiving a type of a
阅读全文
摘要:Type useMemo: let rowArray = React.useMemo<null[]>( () => Array(board.rows).fill(null), [board.rows] ); Type useCallback: let getColumnArray = React.u
阅读全文
摘要:We are going to start refactoring our CountDisplay component. It is a small stateless component but it has a few props that can benefit from type safe
阅读全文
摘要:Route 53 Hosted Zones When you register a domain name using Route 53, a hosted zone will be created fro your domain name. SOA (Start of Authority) Rec
阅读全文
摘要:Replace Legacy Root API with New Root API ReactDOM.createRoot(document.getElementById("root")).render(<App />); Use React 18's New Root API Alongside
阅读全文
摘要:const players = [ { id: 'x9Opl1', name: 'Mario', bio: 'Italian plumber and lead character', }, { id: '7fGlZ0', name: 'Luigi', bio: "Mario's green youn
阅读全文
摘要:Error might happen: Reason:
阅读全文
摘要:We are going to create a A private host zone and test this private host zone with VPC1 and VPC2... for VPC3, you can follow the VPC2 as example. Creat
阅读全文
摘要:Instance Profile contains Temporary credentials Role IP will help to rotate the temporary credentials on your behalf. in short, IP works as "Who am I"
阅读全文
摘要:You can auto assign a public IP address when you launch a new EC2 instance. But if you didn't and you want to assign one after launched, you can use E
阅读全文