{"id":16666688,"url":"https://github.com/nerdo/react-router","last_synced_at":"2026-04-26T19:32:07.362Z","repository":{"id":148087034,"uuid":"266462604","full_name":"nerdo/react-router","owner":"nerdo","description":"A React adapter for @nerdo/js-routing.","archived":false,"fork":false,"pushed_at":"2025-11-27T21:40:57.000Z","size":1283,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T07:51:37.515Z","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/nerdo.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-24T03:27:47.000Z","updated_at":"2020-05-24T03:28:48.000Z","dependencies_parsed_at":"2025-12-24T19:06:21.067Z","dependency_job_id":null,"html_url":"https://github.com/nerdo/react-router","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nerdo/react-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Freact-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Freact-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Freact-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Freact-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdo","download_url":"https://codeload.github.com/nerdo/react-router/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdo%2Freact-router/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32310804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: 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":"2024-10-12T11:11:47.872Z","updated_at":"2026-04-26T19:32:07.348Z","avatar_url":"https://github.com/nerdo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Component Boilerplate\n\nA simple boilerplate setup for creating a React component library.\n\n## Installation\nWhile in the boilerplate repository path, run this command to create a fresh copy of the boilerplate, replacing `/path/to/component/repo` with an absolute or relative path to where you want the new repository to end up.\n\n```\nnpx make-fresh-repo /path/to/component/repo\n```\n\n## Setup\nChange into the component repository's directory and install the necessary modules:\n\n```\ncd /path/to/component/repo\nnpm install\n```\n\nEdit `package.json`. Find and change the name, description, author, repository, license, etc. to\nvalues appropriate for your library. You should also probably do a find in files to find references\nto `Boilerplate` and rename any of those files to the name of your component.\n\nDon't forget to also change the `README.md` and `LICENSE` files.\n\n## Testing\nThe boilerplate is configured with [Jest](https://jestjs.io) and [react-testing-library](https://github.com/testing-library/react-testing-library) which are [recommended testing tools for React](https://reactjs.org/docs/testing.html).\n\nTo run tests, simply run...\n```\nnpm run test\n```\n\n...which runs `jest`\n\n## Workflow\nSource code for the library should reside in the `src` directory.\n\n`index.js` is the entry point and should export whatever you want for your library.\n\n### Development (built-in)\nIn order to facilitate working with your library as it would be used in a host application, a barebones React app is included in the `dev` directory. Its `index.js` is the entry point for the host test bed.\n\nIt also contains a `Dev` component which is the component root for development purposes.\n\nFor development, run\n\n```\nnpm run dev\n```\n\n...which spins up a web server, serving content from the `dev` directory.\n\n### Development (external host)\nYou may also want to develop your component inside an existing/external host app.\n\nThe best way to do this is to...\n\n1. Ensure you've edited your `project.json` and given your component the proper `name`.\n2. Run `npm link` inside of `/path/to/component/repo`. This will allow you to symlink your component via npm using the `name` in `package.json`.\n3. Go to your host app and run `npm link the-name-in-package-json`.\n\nFor example:\n\n```\ncd /path/to/component/repo\n# edit package.json to have the name 'foo-component'\nnpm link\ncd /path/to/host/app\nnpm link foo-component\n```\n\nAt this point you can go back to your component directory and run `npm watch` which builds the\ncomponent for production and watches the directory for changes. Run your host app and develop to\nyour heart's content :)\n\n## Building for production\nTo build the production version of the component to the `dist` directory:\n\n```\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdo%2Freact-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdo%2Freact-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdo%2Freact-router/lists"}