{"id":20621937,"url":"https://github.com/jennasys/pyuseref","last_synced_at":"2025-03-06T23:20:23.140Z","repository":{"id":84072261,"uuid":"439729207","full_name":"JennaSys/pyuseref","owner":"JennaSys","description":"Python version of useRef demo at: https://dev.to/ziratsu/the-useref-hook-in-react-3h98","archived":false,"fork":false,"pushed_at":"2024-07-13T20:30:00.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T19:14:01.132Z","etag":null,"topics":["parcel","python","react","transcrypt","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Python","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/JennaSys.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":"2021-12-18T22:41:26.000Z","updated_at":"2024-07-13T20:26:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3b822fe-68d5-48dc-8506-83f5ae1d25ae","html_url":"https://github.com/JennaSys/pyuseref","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JennaSys%2Fpyuseref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JennaSys%2Fpyuseref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JennaSys%2Fpyuseref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JennaSys%2Fpyuseref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JennaSys","download_url":"https://codeload.github.com/JennaSys/pyuseref/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242299669,"owners_count":20105057,"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":["parcel","python","react","transcrypt","tutorial"],"created_at":"2024-11-16T12:19:52.771Z","updated_at":"2025-03-06T23:20:23.122Z","avatar_url":"https://github.com/JennaSys.png","language":"Python","readme":"## [React to Python](https://pyreact.com)\n### Python React version of useRef Tutorial at:  \nhttps://dev.to/ziratsu/the-useref-hook-in-react-3h98\n\n- **app.py**: useRef demo\n- **app_multi.py**: multi-ref demo\n- **app_state.py**: using useState (controlled inputs) instead of useRef for comparison\n\n- **pyreact.py**: React wrapper functions\n\n\n\n### Setup:  \n$ `python3.9 -m venv venv`  \n$ `. ./venv/bin/activate`  \n$ `pip install -r requirements.txt`  \n$ `npm install`  \n\n### Build and run with:  \n$ `npm start`\n\nThe application will be served up on Parcel's default port at:  \n`http://localhost:1234`\n\nOpen the developer console in the web browser to see the output.\n\n\nChange `script src` in **index.html** to try different **app** modules\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjennasys%2Fpyuseref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjennasys%2Fpyuseref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjennasys%2Fpyuseref/lists"}