{"id":21240600,"url":"https://github.com/chrisnajman/meme-generator","last_synced_at":"2025-09-08T06:34:39.401Z","repository":{"id":237628239,"uuid":"794917068","full_name":"chrisnajman/meme-generator","owner":"chrisnajman","description":"Built from Scrimba's 'Build a meme generator' tutorials. Dynamically add text to the top and bottom of the image. Click the button to generate a new image.","archived":false,"fork":false,"pushed_at":"2025-05-09T08:32:31.000Z","size":448,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T06:42:04.038Z","etag":null,"topics":["api","async-await","controlled-components","css-nesting","form-elements","github-pages-website","html-css-javascript","props","reactjs","scrimba","state-management","useeffect-hook","vitejs"],"latest_commit_sha":null,"homepage":"https://chrisnajman.github.io/meme-generator/","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/chrisnajman.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":"2024-05-02T08:09:45.000Z","updated_at":"2025-05-09T08:32:29.000Z","dependencies_parsed_at":"2024-05-02T21:40:39.935Z","dependency_job_id":"e7fa1e65-5604-42ad-94be-ef65170867d5","html_url":"https://github.com/chrisnajman/meme-generator","commit_stats":null,"previous_names":["chrisnajman/meme-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chrisnajman/meme-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnajman%2Fmeme-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnajman%2Fmeme-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnajman%2Fmeme-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnajman%2Fmeme-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisnajman","download_url":"https://codeload.github.com/chrisnajman/meme-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnajman%2Fmeme-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274146156,"owners_count":25230115,"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-09-08T02:00:09.813Z","response_time":121,"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":["api","async-await","controlled-components","css-nesting","form-elements","github-pages-website","html-css-javascript","props","reactjs","scrimba","state-management","useeffect-hook","vitejs"],"created_at":"2024-11-21T00:52:04.623Z","updated_at":"2025-09-08T06:34:39.368Z","avatar_url":"https://github.com/chrisnajman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Meme Generator\n\n- Input text to the 'Top text' and 'Bottom text' inputs to generate text above and below the image.\n- Click the button to generate a new image.\n\n\u003e [!NOTE]\n\u003e No data is saved.\n\n---\n\n## Scrimba Course Link\n\n- [Build a Meme Generator](https://scrimba.com/playlist/prXJpCQ)\n\n\u003e [!NOTE]\n\u003e (Free) subscription and login required to follow the course.\n\n---\n\n## useEffect()\n\n### What is a \"side effect\" in React? What are some examples?\n\n- Any code that affects an outside system, e.g.\n- local storage, API, websockets, two states to keep in sync.\n\n### What is NOT a \"side effect\" in React? Examples?\n\nAnything that React is in charge of, e.g.\n\n- Maintaining state,\n- keeping the UI in sync with the data,\n- rendering DOM elements.\n\n### When does React run the useEffect function?\n\n- As soon as the component loads (first render).\n- On every re-render of the component (assuming no dependencies array).\n\n### When does it NOT run the useEffect function?\n\n- when the values of the dependencies in the array stay the same between renders.\n\n### What is the \"dependencies array\"?\n\n- Second parameter to the useEffect function.\n- A way for React to know whether it should re-run the effect function.\n\n---\n\n## Testing\n\nTested on Windows 10 with:\n\n- Chrome\n- Firefox\n- Microsoft Edge\n\nPage tested in both browser and device views.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisnajman%2Fmeme-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisnajman%2Fmeme-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisnajman%2Fmeme-generator/lists"}