How raguct25/my-learnings works
This repository is a collection of learning examples rather than one integrated product: its main user-facing runtime is a React app, alongside independent Next.js, JavaScript, and Node.js examples. The React app currently renders the location map; several other imported demos are commented out in App.tsx, so they are represented as capabilities without invented runtime connections. Source excerpts support the map’s geolocation and map-tile relationships, plus selected component relationships. Other unsampled example behavior is not inferred.
Main entry points: MapComponent.tsx Location map · App.tsx React app · FacebookLogin.tsx Facebook login · DynamicComponent.tsx Dynamic content
Components 34
React learning app
- React app
react-learnings/src/App.tsx - Location map
react-learnings/src/LocationComponet/MapComponent.tsx - Location demo
react-learnings/src/LocationComponet/LocationComponent.tsx - Carousel demo
react-learnings/src/CarouselComponent/CarouselComponent.tsx - Carousel controls
react-learnings/src/CarouselComponent/CustomButtonGroup.tsx - Date picker
react-learnings/src/DatePickerComponent/DatePickerComponent.tsx - Dynamic content
react-learnings/src/DynamicComponents/DynamicComponent.tsx - Content renderer
react-learnings/src/DynamicComponents/DynamicRenderer.tsx - Text styling
react-learnings/src/DynamicComponents/TextStyleDynamic.tsx - Phone input
react-learnings/src/InputPhoneComponent/InputPhoneComponent.tsx - Plan header
react-learnings/src/ProjectComponents/HeaderComponent.tsx - Plan constants
react-learnings/src/helpers/constant.ts - Default route demo
react-learnings/src/RouteComponents/DefaultComponent/DefaultComponent.tsx - Child route demo
react-learnings/src/RouteComponents/ChildComponent/ChildComponent.tsx - SSR demo
react-learnings/src/SSRComponents/SsrComponent.tsx - Fetch experiments
react-learnings/src/fetch-component/FetchComponent.tsx - Fetch hook
react-learnings/src/hooks/useFetch.ts - Facebook component
react-learnings/src/meta/FacebookComponent.tsx - Facebook login
react-learnings/src/meta/FacebookLogin.tsx - Practice component
react-learnings/src/practice-component/PracticeComponent.tsx
Next.js example
- Next.js page
nextjs-learnings/src/app/page.tsx - Root layout
nextjs-learnings/src/app/layout.tsx
JavaScript examples
- Boxing example
javascript/boxNumber.js - Geolocation example
javascript/geolocation.js - Modification example
javascript/modify.js - Array practice
javascript/practiceArray.js - Closure practice
javascript/practiceClosures.js - Function practice
javascript/practiceFunctions.js - Hoisting practice
javascript/practiceHoisting.js
Other components
- Browser user
- Browser geolocation
- OpenStreetMap tiles
- JSONPlaceholder API
- Facebook SDK
Connections 10
- Browser user → React app: opens
react-learnings/src/App.tsx - React app → Location map: renders
react-learnings/src/App.tsx - Location map → Browser geolocation: reads location
react-learnings/src/LocationComponet/MapComponent.tsx - Location map → OpenStreetMap tiles: loads tiles
react-learnings/src/LocationComponet/MapComponent.tsx - Dynamic content → Content renderer: uses renderer
react-learnings/src/DynamicComponents/DynamicComponent.tsx - Plan header → Plan constants: reads status
react-learnings/src/ProjectComponents/HeaderComponent.tsx - Facebook component → Facebook login: renders login
react-learnings/src/meta/FacebookComponent.tsx - Facebook login → Facebook SDK: loads SDK
react-learnings/src/meta/FacebookLogin.tsx - Fetch hook → JSONPlaceholder API: requests URL
react-learnings/src/hooks/useFetch.ts - Fetch experiments → JSONPlaceholder API: queries users
react-learnings/src/fetch-component/FetchComponent.tsx