{"id":31101038,"url":"https://github.com/maraf/blazor-wasm-react","last_synced_at":"2026-02-13T13:56:18.983Z","repository":{"id":304013110,"uuid":"1017209555","full_name":"maraf/blazor-wasm-react","owner":"maraf","description":"Blazor WebAssembly + React","archived":false,"fork":false,"pushed_at":"2025-07-11T11:16:39.000Z","size":3023,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-17T00:07:30.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maraf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-07-10T07:32:14.000Z","updated_at":"2025-07-11T11:16:41.000Z","dependencies_parsed_at":"2025-07-10T22:50:17.861Z","dependency_job_id":null,"html_url":"https://github.com/maraf/blazor-wasm-react","commit_stats":null,"previous_names":["maraf/blazor-wasm-react"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maraf/blazor-wasm-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraf%2Fblazor-wasm-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraf%2Fblazor-wasm-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraf%2Fblazor-wasm-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraf%2Fblazor-wasm-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maraf","download_url":"https://codeload.github.com/maraf/blazor-wasm-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maraf%2Fblazor-wasm-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29409264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-09-16T23:17:09.877Z","updated_at":"2026-02-13T13:56:18.977Z","avatar_url":"https://github.com/maraf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blazor WASM in a React application\n\nThis sample shows how to use Blazor WebAssembly integrated into a React application.\n\n- [Blazor Community Standup - Integrate .NET in JavaScript apps](https://www.youtube.com/watch?v=tAh899Gri4E)\n- [.NET + React demo](https://github.com/maraf/dotnet-wasm-react)\n\n## Project structure\n\n- **app**: target React application using rollup to do the JavaScript build\n- **blazor**: Blazor WebAssembly application containing several components\n\n## Live demo\n\nhttps://maraf.github.io/blazor-wasm-react/\n\n## Building source code\n\n### Blazor components\n\n- Install .NET 10 SDK (preview7+)\n- Run `dotnet publish` in the `blazor` folder\n\n### App\n\nIn the `react` folder\n\n- Run `npm install`\n- Run `npm run build`\n\n### Under the hood\n\nIn .NET 10 we have added a way to produce JavaScript bundler friendly build output. In JavaScript world, file dependencies (like other JS files or images) are resolved using import statements.\nIn browser world, only JavaScript files can be imported using import statements. Because of this, we introduced an MSBuild property `WasmBundlerFriendlyBootConfig=true` to switch between browser-runnable output \nand JavaScript bundler-friendly build output. Switching this on allows JavaScript bundlers to consume output of .NET build (publish).\n\n.NET build (`dotnet build` or Build in VS) doesn't copy all files to the output directory. This happens only for publish. We do it make incremental builds faster. As a result, integrating .NET build output into JavaScript bundlers work properly for publish output. Making it work for build output should be possible by properly mapping imports to individual locations using rollup (or other bundler) custom plugin. We don't provide such plugin at the moment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaraf%2Fblazor-wasm-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaraf%2Fblazor-wasm-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaraf%2Fblazor-wasm-react/lists"}