This article is intended to be used as a primer for managing complex states in a Next.js app. The framework is way too versatile for us to cover all possible use cases. These strategies should fit the vast majority of apps around with little to no adjustments. If you believe there is a relevant pattern to be considered, I look forward to seeing you in the comments section!
Table of contents
React Core APIs For DataPropagating Local State Through The AppCreating A Hierarchy Amongst RoutesGrowing Pains Strike Again: Provider HellFetching StateFinal ConsiderationsTry It YourselfReferencesSort: