{"id":19021438,"url":"https://github.com/sldeaals/table-pagination-exercise","last_synced_at":"2026-04-28T15:30:20.113Z","repository":{"id":218000859,"uuid":"530376671","full_name":"sldeaals/table-pagination-exercise","owner":"sldeaals","description":"Simple table pagination exercise","archived":false,"fork":false,"pushed_at":"2022-09-13T23:50:46.000Z","size":199,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T00:42:13.062Z","etag":null,"topics":["css-in-js","react-hooks","react-select","react-table","reactjs"],"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/sldeaals.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-08-29T20:07:23.000Z","updated_at":"2022-09-13T23:53:28.000Z","dependencies_parsed_at":"2024-01-19T08:17:07.708Z","dependency_job_id":null,"html_url":"https://github.com/sldeaals/table-pagination-exercise","commit_stats":null,"previous_names":["sldeaals/table-pagination-exercise"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sldeaals%2Ftable-pagination-exercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sldeaals%2Ftable-pagination-exercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sldeaals%2Ftable-pagination-exercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sldeaals%2Ftable-pagination-exercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sldeaals","download_url":"https://codeload.github.com/sldeaals/table-pagination-exercise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240065701,"owners_count":19742545,"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":["css-in-js","react-hooks","react-select","react-table","reactjs"],"created_at":"2024-11-08T20:21:48.972Z","updated_at":"2026-04-28T15:30:20.081Z","avatar_url":"https://github.com/sldeaals.png","language":"JavaScript","readme":"# table-pagination-exercise\n\n## Instructions\nCreate a table that implements pagination.\nIt should have:\n\n1. Three columns. col1, col2, col3.\n2. Fourty one rows. The data will be generated by the generateData function. The data should be the same throughout the component lifecycle.\n3. Previous button: Should be enabled only if there's previous data available.\n4. Next button: Should be enabled only if there's next data available.\n5. Records per page selector: Three sizes: 5, 6, 10. When this value changes, go back to the first page by default.\n// This function must be used to generate the data\nconst generateData = (size) =\u003e {\n    const data = [];\n    for(let i=0; i\u003csize; i++){\n        data.push({\n            col1: Math.random().toString(16).slice(2),\n            col2: Math.random().toString(16).slice(2),\n            col3: Math.random().toString(16).slice(2),\n        });\n    }\n    return data;\n}\n\n### `yarn start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in your browser.\n\nThe page will reload when you make changes.\\\nYou may also see any lint errors in the console.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsldeaals%2Ftable-pagination-exercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsldeaals%2Ftable-pagination-exercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsldeaals%2Ftable-pagination-exercise/lists"}