{"id":21083855,"url":"https://github.com/spongebobsun/reactnative-tl-dr","last_synced_at":"2026-05-19T18:37:18.769Z","repository":{"id":84564647,"uuid":"120293392","full_name":"SpongeBobSun/ReactNative-TL-DR","owner":"SpongeBobSun","description":"ReactNative - Too Long; Don't Read.","archived":false,"fork":false,"pushed_at":"2018-02-12T07:08:34.000Z","size":653,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T05:11:14.807Z","etag":null,"topics":["react-native"],"latest_commit_sha":null,"homepage":"https://spongebobsun.gitbooks.io/reactnative-too-long-don-t-read/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpongeBobSun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-05T11:03:29.000Z","updated_at":"2018-02-12T06:37:24.000Z","dependencies_parsed_at":"2023-03-02T06:15:55.103Z","dependency_job_id":null,"html_url":"https://github.com/SpongeBobSun/ReactNative-TL-DR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SpongeBobSun/ReactNative-TL-DR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpongeBobSun%2FReactNative-TL-DR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpongeBobSun%2FReactNative-TL-DR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpongeBobSun%2FReactNative-TL-DR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpongeBobSun%2FReactNative-TL-DR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpongeBobSun","download_url":"https://codeload.github.com/SpongeBobSun/ReactNative-TL-DR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpongeBobSun%2FReactNative-TL-DR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28087174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react-native"],"created_at":"2024-11-19T20:20:06.784Z","updated_at":"2025-12-27T22:33:05.179Z","avatar_url":"https://github.com/SpongeBobSun.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactNative - Too Long Don't Read\n\nAfter using `ReactNative` in company projects for about one year, I've decided to write something about it. There are a lot of documents talking about pros and cons of `ReactNative` so l will not do that. Summarize in one word - `ReactNative` is awesome.\n\nI'll write down the important part and bread crumbs about how `ReactNative` works in this document. Starting with `AppDelegate` of a simple project and we will go through the initialization part of `ReactNative` ,  `NativeModules` and how JavaScript code and native code connected. Along with how does `ReactNative` using `JavaScriptCore`, how does a native UI component get drew and other interesting parts.\n\nThe reason why this document is called 'Too Long Don't Read' is I will summarize contents in a chapter to a figure or a bullet list. Then I'll put it on the beginning of each chapter entitled `TL;DR`.\n\n\u003cdiv style='width: 100%; text-align: center;'\u003e\n\u003cimg src='/assets/tldr.png' style='display: block; margin: auto;' /\u003e\n\u003c/div\u003e\n\n\nThe `TL;DR` part will provide a quick reference if you want to go through chapters quickly.\n\n## Who this document is for.\n\nThis document is for those who already played with `ReactNative`, or made their own app using `ReactNative`  and are curious about:\n\n* How does this part of `ReactNative` works?\n* What's under the hood?\n\nAlso this document is based on `ReactNative` version '0.52.0' and **iOS **platform. Although some code written in cpp are used by both iOS and Android but I will **not **go through any Java code.\n\n## Who this document is not for.\n\nIf you are a Android developer and wish to read about plenty Java code in `ReactNative` - this is not for you, **currently**. I've planed to add Android part in this document but I will focus on iOS for now.\n\nIf you want to learn how to make apps using `ReactNative` - this is not your cup of tea. I'll assume readers have a solid \\( well not that solid maybe \\) background of using `ReactNative` to make apps.\n\n## How this document is organized.\n\nThis document will start with how `ReactNative` initializing itself \\( like other lousy documents for some frameworks \\). Then it will go through the communication part between JavaScript code and native code. Also `NativeModule` will be introduced during this.\n\nThen it's other parts that matters in `ReactNative` such as `UIManager` , renderer etc.\n\n## Conventions.\n\nLots of code will be pasted in this document. Some important conventions is about comments - so you won't mix my comments and original comments.\n\n* Line comments start with '...' is written by me.\n\n\u003e //...Some important thing is going to happen in below block\n\n* Block comments contains 'Bob's note:' is written by me.\n\n```\n/**\n * Bob's note:\n * Dispatch some task in some queue\n */\n```\n\n* Line comment start with '...' and without any explanations means I've delete some code to make code block more clear for reading.\n\n\u003e //...\n\n## Status of this document.\n\n### **This document is still working in progress!**\n\nSee chapter `Todos` for status.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspongebobsun%2Freactnative-tl-dr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspongebobsun%2Freactnative-tl-dr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspongebobsun%2Freactnative-tl-dr/lists"}