- Lazy Loading in React
- Hooks Best Practices
- Portals in React
- State Management in React
- Routing in React
- Theming in React
- Patterns in React
-
Hello, React
- Set up a new React project using Vite (or Create React App).
- Set up a simple App component that renders a message like "Hello, React!".
-
Understand Virtual DOM
- Create a simple React component with state and log the updates to the browser console.
- Observe how React updates the DOM efficiently using the Virtual DOM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs') | |
const fabric = require("fabric").fabric; | |
let json = { | |
"background":"rgba(255,255,255,0.5)", | |
"backgroundImage":{ | |
"angle":0, | |
"backgroundColor":"", | |
"fill":"white", | |
"fillRule":"nonzero", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"model_id": 175, | |
"group_id": 0, | |
"status": 1, | |
"name": " website test", | |
"creative_group_id": 108, | |
"description": " ", | |
"height": 500, | |
"width": 300, | |
"data": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Solution: | |
def singleNumber(self, nums): | |
dic = {} | |
for i in nums: | |
if i in dic: | |
dic[i] = dic[i] + 1; | |
else: | |
dic[i] = -1; | |
for k,v in dic.items(): | |
if v != 0 : |