usePlist Hook
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 84
- Forks
- 18
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
Describe the feature and the current behavior/state.
I counted at least 9 extensions which need to read plist files (tower, safari, tableplus, etc) to fetch data. They all implement this on their own way, with third-party libraries and custom handling of permission.
It would be great to have a usePlist hook, working the same way as the useSQL hook: returns AsyncState, handles missing permission, etc
Will this change the current API? How?
No, this is a new hook
Who will benefit from this feature?
Extensions which fetch data from plist files
Any Other info.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing useSQL hook and reviewing how it models AsyncState and missing-permission handling. Then inspect the current plist-reading approaches used by extensions; the work is done when a new usePlist hook provides comparable behavior without changing the existing API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100