Category: architecture

Considerations for Creating a Card Component

Here’s a Card component in React: const Card = props => { return( {props.title} {props.content} ) } It might be pretty useful! If you end up using this thing hundreds of times, now you have the ability to refactor a little bit of HTML across your app very easily. You already have that power in […]

Domain-Driven Design With React | CSS-Tricks

There is very little guidance on how to organize front-end applications in the world of React. (Just move files around until it “feels right,” lol). The truth is that we can do better. Let’s take a look at one pattern you might consider using to architect your site. At first, you might split up your […]