{"id":16351332,"url":"https://github.com/knisterpeter/preact-rerender-bug","last_synced_at":"2025-06-25T22:05:45.967Z","repository":{"id":137925452,"uuid":"90641636","full_name":"KnisterPeter/preact-rerender-bug","owner":"KnisterPeter","description":"Describes the referenced issue in preact","archived":false,"fork":false,"pushed_at":"2017-05-08T15:13:22.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-19T22:41:33.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/developit/preact/issues/690","language":"TypeScript","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/KnisterPeter.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-08T15:07:47.000Z","updated_at":"2017-05-08T15:19:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"44e4f2d1-31d6-4bf4-a4e3-fc5dde61e051","html_url":"https://github.com/KnisterPeter/preact-rerender-bug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KnisterPeter/preact-rerender-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnisterPeter%2Fpreact-rerender-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnisterPeter%2Fpreact-rerender-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnisterPeter%2Fpreact-rerender-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnisterPeter%2Fpreact-rerender-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KnisterPeter","download_url":"https://codeload.github.com/KnisterPeter/preact-rerender-bug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnisterPeter%2Fpreact-rerender-bug/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261960503,"owners_count":23236572,"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-10-11T01:09:09.914Z","updated_at":"2025-06-25T22:05:45.931Z","avatar_url":"https://github.com/KnisterPeter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# preact-rerender-bug\n\nThis shows a bug (or at least difference) between preact and react.\n\nWhile using react, the `div` node rendered by the plugin keeps mounted even if its props changes, preact\nremounts it which will result in remounting the included child.\n\nThis will have many lifecycle sideeffects different from react.\n\nRun `npm start` and open `http://localhost:3000`.  \nThen hit the `Tap` button a few times while inspecting the JS console and the devtools element pane.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknisterpeter%2Fpreact-rerender-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknisterpeter%2Fpreact-rerender-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknisterpeter%2Fpreact-rerender-bug/lists"}