Skip to content

About

Declarative render primitives for React, all sharing one Renderable convention.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

react-renderable

react-renderable is a small set of primitives for deciding what to render in React. Each one accepts a Renderable, which can be either a component or a React node, so you can use the same slot with both.

Package: npmjs.com/package/react-renderable

Documentation: dev.robertoattanasio.com/react-renderable

Installation

npm install react-renderable

The package expects React 19 and React DOM 19 in your project; both are peer dependencies.

API

The primitives cover common rendering patterns, including conditional content, lists, wrappers, and portals. See the individual guides for details:

Scripts

For the available project scripts and what they do, see docs/scripts.md.

License

MIT

About

Declarative render primitives for React, all sharing one Renderable convention.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages