Skip to content

Instantly share code, notes, and snippets.

View bilalbhojani24's full-sized avatar
💭
Ready for collaboration, mail me at bilalbhojani24@gmail.com

Bilal Bhojani bilalbhojani24

💭
Ready for collaboration, mail me at bilalbhojani24@gmail.com
View GitHub Profile
@bilalbhojani24
bilalbhojani24 / grid-select-cell-types-decoupling.html
Last active February 25, 2026 01:46
RFC: Decouple Product Imports from Core — Select Components Migration
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
font-family: Arial, sans-serif;
font-size: 11pt;
line-height: 1.5;
import React from 'react';
import Grid from 'app/core/components/Grid';
function GridExample() {
const data = [
{ role: null, city: 'Bangalore' },
{ role: null, city: 'Hyderabad' },
{ role: null, city: 'Chennai' },
{ role: null, city: 'Mumbai' },
];
// @ts-nocheck
/* eslint-disable rippling-eslint/prefer-function-component */
import React from 'react';
import styled from '@emotion/styled';
import classNames from 'classnames';
import _ from 'lodash';
import { useTranslation } from '@rippling/lib-i18n';
import ActionCard from '@rippling/pebble/ActionCard';
import Animation from '@rippling/pebble/Animation';
import Atoms from '@rippling/pebble/Atoms';
import * as React from 'react';
import useConfirmBeforeLeave from 'app/core/components/useConfirmBeforeLeave.hook';
import { Navigate } from 'app/routes/routerV6/reactRouterDom';
import Flow from '../../../Flow';
import type { FlowRoutesConfig } from '../../../flow.types';
import Page1 from './page1';
import Page2 from './page2';
import Page3 from './page3';
export const flowRoutesConfig: FlowRoutesConfig[] = [
# Role Fetching Backend Stitching Analysis
## Overview
Analysis of PR branch `bbhojani/hardware-rwc-migration` identifying opportunities to eliminate redundant frontend role fetching by enriching backend API responses.
## Pattern Identified
**Current Anti-Pattern:**
1. Backend API returns `roleId` (string)
2. Frontend makes additional API call: `getRole(roleId)` or `getRoles([roleIds])`
3. Frontend merges role data with initial response
# RWC Migration: Complete Spreadsheet-Style Inventory
**Generated:** 2025-11-28
**Total Files:** 275 unique files
**Total Method Calls:** 487 line occurrences
**Format:** Spreadsheet-style with all details
---
## How to Use This Document
[
{
"file": "./app/core/components/flow/samples/examples/basic-resumable/basic.routes.tsx",
"line": 43,
"label": "Sample Flow"
},
{
"file": "./app/core/components/flow/samples/examples/basic/basic.routes.tsx",
"line": 43,
"label": "Sample Flow"
# Cookie and Data Flow Compliance Report
## Rippling Webapp - Code Analysis
**Generated:** October 23, 2025
**Repository:** rippling-webapp
**Analysis Type:** Codebase investigation for cookie and data flow compliance
---
import { createRoot } from "react-dom/client";
import React, {
createContext,
useContext,
useEffect,
useState,
useRef,
} from "react";
**PDFJS-DIST**
ATS
app/products/hr/HiringThing/components/atsApplicantProfile/profileSections/DocumentView.tsx
WorkAuthorization
app/products/hr/WorkAuthorization/components/documentsTable/DocumentsTable.tsx
PEO
app/products/hr/Peo/components/PeoCompanyDocument.tsx