Skip to content

Instantly share code, notes, and snippets.

View Suryadevelops's full-sized avatar
💻
Just be awesome

Suryadevelops Suryadevelops

💻
Just be awesome
View GitHub Profile
@erelado
erelado / CheckerPlus-forGmail-Theme.css
Last active October 7, 2022 02:57
Checker Plus for Gmail: A Theme by Erel
/* Add your desirable color pallete over here
* {
--primary-text-color: [COLOR];
--primary-background-color: [COLOR];
--secondary-text-color: [COLOR];
--secondary-background-color: [COLOR];
--disabled-text-color: [COLOR];
--highlight-background-color: [COLOR];
--hover-message-color: [COLOR];
import React from "react";
import TodoForm from "./TodoForm";
import Todo from "./Todo";
/*
TodoMVC
1. add todo
2. display todos
3. cross off todo
4. show number of active todos
@bvaughn
bvaughn / index.md
Last active June 16, 2024 21:50
How to use profiling in production mode for react-dom

React recently introduced an experimental profiler API. This page gives instructions on how to use this API in a production release of your app.

Table of Contents

Profiling in production

React DOM automatically supports profiling in development mode for v16.5+, but since profiling adds some small additional overhead it is opt-in for production mode. This gist explains how to opt-in.