/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

codedrivendevelopment.com
| | jmmv.dev

Dependency injection is one of my favorite design patterns to develop highly-testable and modular code. Unfortunately, applying this pattern by taking Rust traits as arguments to public functions has unintended consequences on the visibility of private symbols. If you are not careful, most of your crate-internal APIs might need to become public just because you needed to parameterize a function with a trait. Let's look at why this happens and what we can do about it.
3.7 parsecs

Travel
| |
| | blog.davemartin.me

A critique of modern React, specifically the hooks API, and an explanation of why it's insufficient as a web development framework
3.6 parsecs

Travel
| |
| | blog.testdouble.com

Dive into the concept that React Context API is primarily a tool for injecting dependencies into a React tree and how we can use that to improve testability, reusability, and maintainability of our
2.6 parsecs

Travel
| |
| | www.jameskerr.blog

[AI summary] The author introduces and refines useStateObject, a custom React API that simplifies state management with dot notation and utility methods like merge and reset.
29.8 parsecs

Travel
|