{"id":27976936,"url":"https://github.com/lemoncode/react-by-sample","last_synced_at":"2025-08-30T20:14:21.334Z","repository":{"id":69156103,"uuid":"70802482","full_name":"Lemoncode/react-by-sample","owner":"Lemoncode","description":"Set of basic React + Typescript guided samples, cover basic principles of this technology.","archived":false,"fork":false,"pushed_at":"2019-10-02T10:13:07.000Z","size":884,"stargazers_count":202,"open_issues_count":9,"forks_count":84,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-08-30T19:53:57.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Lemoncode.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":"2016-10-13T12:06:50.000Z","updated_at":"2025-07-16T19:30:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"213f9915-6fd7-414c-b351-c83aa597c196","html_url":"https://github.com/Lemoncode/react-by-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lemoncode/react-by-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-by-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-by-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-by-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-by-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lemoncode","download_url":"https://codeload.github.com/Lemoncode/react-by-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Freact-by-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272900164,"owners_count":25012034,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-05-08T01:42:56.793Z","updated_at":"2025-08-30T20:14:21.326Z","avatar_url":"https://github.com/Lemoncode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Typescript by sample\n\nThe goal of this project is to provide a set of step by step guided samples, covering\ncore concepts of React (props, state, replace, cycle...).\n\nTopics covered:\n\n+ Creating a basic starting point from scratch.\n+ Basics creating components and managing with props.\n+ Managing State plus callbacks.\n+ Playing with currified functions.\n+ Displaying tabular data.\n+ Controlling render lifecycle.\n+ Routing.\n+ Managing form + validations\n+ Next context api.\n+ Creating High order components.\n\n\nContributors and reviewers are more than welcome.\n\n## To get started:  \n1. Install [NodeJS](http://www.nodejs.org).\n2. Download this repo.\n3. Open the command line of your choice and cd to the root directory of this repo on your machine,\nthen cd to one of the demos projects.\n4. Install the required packages - `npm install`.\n5. Builds the project and launch a lite dev web server - `npm start`.\n6. Navigate to [http://localhost:8080/](http://localhost:8080/) if your browser doesn't open automatically.\n\n## samples\n\n### [00 Boiler plate](./00_Boilerplate/readme.md)\n\nBundling + npm start based on webpack.\n\n### [01 Hello React](./01_HelloReact/readme.md)\n\nHello world, simples react render sample.\n\n### [02 Properties](./02_Properties/readme.md)\n\nIntroduce a basic React concept, handling properties.\n\n### [03 State](./03_State/readme.md)\n\nIntroduce a basic React concept, handling State.\n\n### [04 Callback](./04_Callback/readme.md)\n\nUsing callbacks.\n\n### [05 Refactor](./05_Refactor/readme.md)\n\nRefactor the job done.\n\n### [06 Move Back To Stateless](./06_MoveBackToStateless/readme.md)\n\nRemove state from a child control just to have clear governance of state.\n\n### [07 Enable](./07_Enable/readme.md)\n\nEnable/disable components.\n\n### [08 ColorPicker](./08_Colorpicker/readme.md)\n\nSimple color picker demo (show how properties work).\n\n### [09 ColorPicker Refactor](./09_ColorpRefactor/readme.md)\n\nColorPicker refactor.\n\n### [10 Sidebar](./10_Sidebar/readme.md)\n\nImplementation of a single sidebar.\n\n### [11 Table Mock](./11_TableMock/readme.md)\n\nRender a table and use a child component to render each row.\n\n### [12 Table Http](./12_TableHttp/readme.md)\n\nUsing Promises.\n\n### [13 Should Update](./13_ShouldUpdate/readme.md)\n\nEnhance rendering performance hooking to 'shouldComponentUpdate'.\n\n### [14 React Router](./14_ReactRouter/readme.md)\n\nReact Router navigation example.\n\n### [15 Login Form](./15_LoginForm/readme.md)\n\nBasic implementation of a login page.\n\n### [16 Validation](./16_Validation/readme.md)\n\nReact Form validation, using lc-form-validation library\n\n### [17 Context](./17_Context/Readme.md)\n\nHow to use React 16 context api.\n\n### [18 HOC](./18_Hoc/Readme.md)\n\nHigh Order component sample..\n\n### [19 RenderProps](./19_RenderProps/Readme.md)\nLearn how use render props in React\n\n### [20 Error Boundaries](./20_ErrorBoundaries/readme.md)\nPlay with the Error Boundary concept\n\n### [21 Hooks](./21_Hooks/readme.md)\nPlay with the Error Boundary concept\nmake use of hooks a cool concept introduced in React 16.7.0\n\n### [22 Hooks_UseContext](./22_Hooks_UseContext/Readme.md)\nLet's see how this is solved using Hooks + Use Context.\n\n\n\n# About Basefactor + Lemoncode\n\nWe are an innovating team of Javascript experts, passionate about turning your ideas into robust products.\n\n[Basefactor, consultancy by Lemoncode](http://www.basefactor.com) provides consultancy and coaching services.\n\n[Lemoncode](http://lemoncode.net/services/en/#en-home) provides training services.\n\nFor the LATAM/Spanish audience we are running an Online Front End Master degree, more info: http://lemoncode.net/master-frontend\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncode%2Freact-by-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemoncode%2Freact-by-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncode%2Freact-by-sample/lists"}