Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 505 Bytes

File metadata and controls

7 lines (4 loc) · 505 Bytes

Managing state in React using unstated-next

From the CSS tricks article: Managing State in React using Unstated-Next.

Note 1: The minimal form component example should use <FormContainer.Provider> and not <Form.Provider>. See unstated-next readme example.

Note 2: For the sharing state across multiple components example, I changed my file/folder structure and component names.