{"id":16969582,"url":"https://github.com/webmasterdevlin/mobx-state-tree-course","last_synced_at":"2025-03-21T19:12:37.511Z","repository":{"id":102789164,"uuid":"326370091","full_name":"webmasterdevlin/mobx-state-tree-course","owner":"webmasterdevlin","description":"Mobx 6 using Mobx State Tree and Mobx React Lite","archived":false,"fork":false,"pushed_at":"2021-03-28T08:41:05.000Z","size":1770,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T13:42:19.506Z","etag":null,"topics":["cypress","jest","mobx","mobx-react-lite","mobx-state-tree","react","react-testing-library","reactjs"],"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/webmasterdevlin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-01-03T09:27:41.000Z","updated_at":"2021-04-13T07:45:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"d801111f-5782-4ae8-8a5b-bbffadf2ef46","html_url":"https://github.com/webmasterdevlin/mobx-state-tree-course","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/webmasterdevlin%2Fmobx-state-tree-course","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Fmobx-state-tree-course/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Fmobx-state-tree-course/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Fmobx-state-tree-course/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmasterdevlin","download_url":"https://codeload.github.com/webmasterdevlin/mobx-state-tree-course/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244852676,"owners_count":20521154,"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":["cypress","jest","mobx","mobx-react-lite","mobx-state-tree","react","react-testing-library","reactjs"],"created_at":"2024-10-14T00:25:48.616Z","updated_at":"2025-03-21T19:12:37.483Z","avatar_url":"https://github.com/webmasterdevlin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Netlify Status](https://api.netlify.com/api/v1/badges/3ce810dd-9952-4643-b046-6cab2fdaac66/deploy-status)](https://app.netlify.com/sites/upbeat-shaw-a043b7/deploys)\n\n# Mobx State Tree Course\n\n```zsh\n$ git clone https://github.com/webmasterdevlin/mobx-state-tree-course-starter.git\n$ cd mobx-state-tree-course-starter\n$ npm installs\n$ npm run start:fullstack\n```\n\nThe React app, and the fake web service will run concurrently.\n\n![screenshot](./screenshot.png)\n\n### Best practices in writing tests\n\nhttps://kentcdodds.com/blog/common-mistakes-with-react-testing-library\n\n- always use eslint-plugin-testing-library and eslint-plugin-jest-dom\n- always use screen\n- use screen.getByRole instead of screen.getByTestId\n- use screen.queryByRole only when expecting not.toBeInTheDocument\n- use await screen.find\\* instead of await waitFor/wait\n- if necessary, use await waitFor instead of await wait\n- use userEvent instead of fireEvent\n- avoid userEvent or fireEvent insides callbacks of waitFor as much as possible\n\n\n### Cypress' best practices in writing tests\n\nhttps://docs.cypress.io/guides/references/best-practices.html\n\n### Application's styles\n\n- The application is using test ID instead of role when querying dom elements\n- Test IDs are simple and isolated\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmasterdevlin%2Fmobx-state-tree-course","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmasterdevlin%2Fmobx-state-tree-course","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmasterdevlin%2Fmobx-state-tree-course/lists"}