Lightlines
By patternsdev

presentational-container-pattern

patternsdev1.1k installs

Keep your React views separate from data logic.

What it does

Guides the separation of React data logic from rendering to make UI components easier to reuse and test.

When to use it

Use when separating data fetching from UI rendering would improve component reuse and testability.

How to use it

It changes how the agent organizes React components by separating data fetching and state from rendering, preferring custom Hooks where appropriate.

What you provide

  • An existing project

Latest review

What you need · 1

The guide applies to React component architecture.


Access · 0

No additional actions listed.