Discussion: Potential hooks API design
See original GitHub issueLet’s use this thread to discuss actual design considerations for an actual hooks API.
Prior references:
Along those lines, I’ve collated a spreadsheet listing ~30 different unofficial useRedux
-type hooks libraries.
update
I’ve posted a summary of my current thoughts and a possible path forward.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:20
- Comments:194 (106 by maintainers)
Top Results From Across the Web
Flexible API Design: Create Hooks for Your PHP API Pipeline
In this article, we discussed what hooks/actions are and how they might be used. We gave some example PHP code that you can...
Read more >Don't Sacrifice Your Declarative API for One Use Case
Designing React components that support declarative and imperative APIs. ... API for One Use Case: A React Pattern for Conditional Hooks.
Read more >Best Practices for Designing a Pragmatic RESTful API
An API is a user interface for a developer. Learn the best practices to make an API that is easy to adopt and...
Read more >Hooks API Reference - React
This page describes the APIs for the built-in Hooks in React. ... Prefer the standard useEffect when possible to avoid blocking visual updates....
Read more >James Higginbotham talks about his new book - YouTube
In this video, API practitioner James Higginbotham (LaunchAny) talks about his new book, "Principles of Web API Design.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
the table didn’t look like it had anything to do with hooks.
I’m getting pretty mentally worn out after dealing with both the v7 thread and this thread.
I’m tired of issue comments and arguments. I want to see code.
build hooks, file PRs, let’s see how stuff actually works, then make decisions based on that.
@klandell : no timeline yet. To be entirely transparent:
connect
right now. We need to make sure that works right as our highest priority. Hooks can wait a bit longer.So, frankly, I don’t see it happening very soon, and I don’t even want to speculate on actual timelines.