Advanced Search
Search Results
255 total results found
Java Persistent API
https://en.wikibooks.org/wiki/Java_Persistence/ManyToOne# https://en.wikibooks.org/wiki/Java_Persistence/OneToOne
React Routing
React Router Traditional multi-page web application uses server based routing where the user requests for a page, the request goes to the server, and when they navigate through different parts of the web page it a new request will be sent to the server to req...
React Hooks
useState The fundamental of storing information. useState hook allow you to create local state returning you both the value that you can access as well as a setter to modify the value. The modification of the state will trigger a re-rendering of the component...
React Reducer
Reducer In an React application you might have a lot of state that you're maintaining across multiple event handler and it can get overwhelming. You can consolidate those state update logic outside of the component into a single function called a reducer. The...
Global Variables
Global Variables Global variables in React persist even after re-render. Only the local variable that's instantiated within the React component will not survive the re-rendering, meaning that if the component is updated, those local variable's value will be r...
AI Research
Error Handling with Promises
https://javascript.info/promise-error-handling Using async functions https://devtrium.com/posts/async-functions-useeffect
React Parent and Child Component
Parent Component Updates When a Parent Component's state or prop is updated and thus re-rendered, the child component that's part of the parent will also be re-rendered, or obviously when the child's state / props also changes. https://whereisthemouse.com/re...
Preserving and Resetting State
https://react.dev/learn/preserving-and-resetting-state Super useful in understanding how React decides on how it renders the component and when to preserve the states.
memo, useMemo, useCallback
memo As you know by now, if a parent component renders child component, and if any of the parent component's state or prop changes, it will trigger a re-rendering including all of the recursive child. function Child() { console.log("Child component bein...
MCP
Model Context Protocol (MCP)
The need for MCP Currently, AI is being trained on millions / billions of data, they know questions to numerous general questions and have advance reasoning skills that allows them to answer even the most complex questions. However, their knowledge are limit...
New Page
CSS
Flexbox Properties
What if I forget? https://flexboxfroggy.com/ Great website to re-learn all these concepts again! Justify-Content Align the content along the main axis, the possible value can be: flex-start (default flex-end center space-between space-around space-...