Skip to content

Instantly share code, notes, and snippets.

View pramitsawant's full-sized avatar
💭
Fixing Bugs... 👨‍💻

Pramit Sawant pramitsawant

💭
Fixing Bugs... 👨‍💻
View GitHub Profile
@pramitsawant
pramitsawant / reactjs-learning-plan.md
Created February 17, 2025 06:29
Advanced React Learning Plan

Advanced React Learning Plan

Topics to Learn:

  • Lazy Loading in React
  • Hooks Best Practices
  • Portals in React
  • State Management in React
  • Routing in React
  • Theming in React
  • Patterns in React
@pramitsawant
pramitsawant / reactjs-intermediate-level.md
Created February 17, 2025 06:16
Learning Plan for React - Intermediate Level

Learning Plan for React - Intermediate Level

Topics to Learn:

  • Styling in React
  • Form Handling in React
  • Data Handling in React
  • Reconciliation Process in React
  • High Order Components
  • React Hooks
  • Undertand Basic Hooks
@pramitsawant
pramitsawant / reactjs-beginner-level.md
Last active February 17, 2025 06:15
Learning Plan for React - Beginner Level

Learning Plan for React - Beginner Level

Setup

  1. 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!".
  2. 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.
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",
{
"model_id": 175,
"group_id": 0,
"status": 1,
"name": " website test",
"creative_group_id": 108,
"description": " ",
"height": 500,
"width": 300,
"data": {
@pramitsawant
pramitsawant / singleNumber
Created April 12, 2020 20:39
Single Number(Leet Code)
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 :