{"id":21934798,"url":"https://github.com/mhdcodes/react-esm-sh","last_synced_at":"2026-05-08T04:43:20.649Z","repository":{"id":209140998,"uuid":"723333407","full_name":"mhdcodes/react-esm-sh","owner":"mhdcodes","description":"Experimenting with the new esm.sh/run","archived":false,"fork":false,"pushed_at":"2023-11-25T10:54:14.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T13:12:33.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://react-esm-sh.vercel.app","language":"HTML","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/mhdcodes.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}},"created_at":"2023-11-25T10:36:37.000Z","updated_at":"2023-11-25T10:38:25.000Z","dependencies_parsed_at":"2023-11-25T11:31:35.854Z","dependency_job_id":"c8448ce0-8d4c-4ef5-bb6a-0a44cdaf1481","html_url":"https://github.com/mhdcodes/react-esm-sh","commit_stats":null,"previous_names":["the-dijkstra/react-esm-sh","mhdcodes/react-esm-sh"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhdcodes%2Freact-esm-sh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhdcodes%2Freact-esm-sh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhdcodes%2Freact-esm-sh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhdcodes%2Freact-esm-sh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhdcodes","download_url":"https://codeload.github.com/mhdcodes/react-esm-sh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244966458,"owners_count":20539794,"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","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":[],"created_at":"2024-11-29T00:17:07.424Z","updated_at":"2026-05-08T04:43:15.618Z","avatar_url":"https://github.com/mhdcodes.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Islands With no Build Step\n\nThis example uses esm.sh/run, a 1KB script allows you to write jsx/tsx in HTML without build! [esm.sh/run](https://github.com/esm-dev/esm.sh/releases/tag/v135)\n\n## How it Works?\nAfter the page loaded, the 1KB tiny script computes the hash of the source of non-javascript \u003cscript\u003e elements, then checks the compiled JS exists in the cache, otherwise sends the source code to esm.sh build API and stores it in the cache system.\nThe cache system includes two iters of storage, are the localStoarge and the Cloudflare Edge network, to make the compiled JS load fast!\n\n![image](https://github.com/the-dijkstra/react-esm-sh/assets/9967336/fa963a17-717b-4e70-8637-6a2a27849215)\n\n## Limitations\nThere are some limitations you need to be aware of:\n\n- Don't use external imports\n- Needs internet connection out of local cache\n- Rebuild happens when the HTML changed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhdcodes%2Freact-esm-sh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhdcodes%2Freact-esm-sh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhdcodes%2Freact-esm-sh/lists"}