{"id":26466608,"url":"https://github.com/xjkit/learn-threejs-in-react-way","last_synced_at":"2026-04-12T18:36:25.224Z","repository":{"id":50754352,"uuid":"371455091","full_name":"xJkit/learn-threejs-in-react-way","owner":"xJkit","description":"Learn Three.js in React with declarative, component-based and more functional way. https://xjkit.github.io/learn-threejs-in-react-way/","archived":false,"fork":false,"pushed_at":"2021-05-31T06:42:05.000Z","size":11462,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-02-26T19:22:44.832Z","etag":null,"topics":["3d","react","react-three","three","webgl"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/xJkit.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}},"created_at":"2021-05-27T17:35:45.000Z","updated_at":"2021-11-29T07:33:46.000Z","dependencies_parsed_at":"2022-09-04T00:22:39.492Z","dependency_job_id":null,"html_url":"https://github.com/xJkit/learn-threejs-in-react-way","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJkit%2Flearn-threejs-in-react-way","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJkit%2Flearn-threejs-in-react-way/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJkit%2Flearn-threejs-in-react-way/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xJkit%2Flearn-threejs-in-react-way/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xJkit","download_url":"https://codeload.github.com/xJkit/learn-threejs-in-react-way/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244422574,"owners_count":20450237,"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":["3d","react","react-three","three","webgl"],"created_at":"2025-03-19T12:08:55.771Z","updated_at":"2026-04-12T18:36:20.032Z","avatar_url":"https://github.com/xJkit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learn Three.js in REACT Way\n\n\u003e Demo: https://xjkit.github.io/learn-threejs-in-react-way/\n\n\n\u003ca href=\"https://threejs.org/\" target=\"_blank\" color=\"blue.500\"\u003eThree.js\u003c/a\u003e is an awesome library that makes the Web 3D development a lot easier.\n\n\n\u003cimg src=\"screenshot.jpg\" /\u003e\n\n### Why this demo site?\n  When I begin three.js, from this \u003ca href=\"https://github.com/mrdoob/three.js/blob/master/examples/webgl_animation_cloth.html\" target=\"_blank\"\u003e official documentation code example\u003c/a\u003e, creating **meshes**, **objects**, **materials**, **lights**, **render loops**, and so on in imperative way is not really my thing. Why not just create everything in \u003cb\u003edeclarative, more functional, and component-based objects!\u003c/b\u003e That is what React looks like.\n\n\n  Special thanks to the three.js react renderer \u003ca href=\"https://github.com/pmndrs/react-three-fiber\" target=\"_blank\"\u003e@react-three/fiber\u003c/a\u003e which makes web 3d happen in React world.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjkit%2Flearn-threejs-in-react-way","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjkit%2Flearn-threejs-in-react-way","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjkit%2Flearn-threejs-in-react-way/lists"}