{"id":22339776,"url":"https://github.com/scriptollc/lazy-render","last_synced_at":"2025-10-08T11:21:35.598Z","repository":{"id":57158212,"uuid":"79846367","full_name":"scriptoLLC/lazy-render","owner":"scriptoLLC","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-13T00:07:42.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T18:53:19.065Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptoLLC.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}},"created_at":"2017-01-23T20:47:09.000Z","updated_at":"2017-01-23T20:47:54.000Z","dependencies_parsed_at":"2022-08-26T09:31:54.977Z","dependency_job_id":null,"html_url":"https://github.com/scriptoLLC/lazy-render","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/scriptoLLC/lazy-render","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Flazy-render","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Flazy-render/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Flazy-render/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Flazy-render/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptoLLC","download_url":"https://codeload.github.com/scriptoLLC/lazy-render/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Flazy-render/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262048794,"owners_count":23250630,"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-12-04T07:09:22.482Z","updated_at":"2025-10-08T11:21:30.539Z","avatar_url":"https://github.com/scriptoLLC.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lazy-render\n\nA helper to render React components for lazy-router (or whatever)\n\n## Usage\n\n```js\nconst router = require('lazy-router')('/404')\nconst render = require('lazy-render')('#app')\n\nconst LazyComponent = require('./my-component')\n\nrouter.on('/lazy-routing', (path, location) =\u003e render(LazyComponent, {location}))\n```\n\n## API\n\n#### `render(mountPoint: selector) -\u003e (Component: HTMLComponent, props: object): void`\n`render` returns a function which will mount a given component in the DOM at the\nlocation specified via the `mountPoint` selector, and additionally pass any\nproperties specified into the component.\n\n## License\nCopyright © 2017 Script LLC. Apache-2.0 licensed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptollc%2Flazy-render","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptollc%2Flazy-render","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptollc%2Flazy-render/lists"}