-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Way Notes: 2019-09-02 #179
Comments
State managementManaging state via hooks directly in the component
Custom Hooks and Hook / Provider Pairs
function paginate(limit) {
const [ count, setCount ] = useState();
return {
next(){ ... },
prev(){ ... },
get page(){ ... }
}
} Adding a Provider
|
Data Modeling
Simple Models
Things that would be interesting to show:How to unify state changes across multiple components.Could your models call
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
General Guidelines
The text was updated successfully, but these errors were encountered: