SkillAgentSearch skills...

TCAGithubSearch

GithubSearch demo app, built with TCA(The Composable Architecture)

Install / Use

/learn @saltylight/TCAGithubSearch
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

GithubSearch

This application demonstrates how to build a moderately complex search feature in The Composable Architecture(TCA):

  • Typing into the search field executes an API request to search for users.
  • Since github v3 Search api doesn't provide user's repoCount, additional API request is necessary for each of the searched users. This has been developed by using Effect.merge.

In addition to those basic features, the following extra things are implemented:

  • Search API requests are debounced so that one is run only after the user stops typing for 300ms.
  • If you search another user while Search or User API request is already in-flight, it will cancel these requests and start a new one.
  • Dependencies and side effects are fully controlled. The reducer that runs this application needs a github API client and a scheduler to run effects.
View on GitHub
GitHub Stars7
CategoryDevelopment
Updated2y ago
Forks0

Languages

Swift

Security Score

55/100

Audited on Jan 29, 2024

No findings