|
|
|
|
|
by matthewmacleod
2983 days ago
|
|
Frameworks and their abstractions tend to evolve out of what we find people need to use in the real world when building their applications. Context is generally a pretty powerful thing when used properly, and allows developers to build nice, readable code in more complex applications by extracting some of the complexity elsewhere, while maintaining a conceptually clean model. It's already used in common libraries like React Router, and establishing a first-class API for it seems like a good move in general. And remember – if it's not useful for your particular use case, don't use it! |
|