Skip to main content

Command Palette

Search for a command to run...

A cleaner and better way to render components in React.

Updated
0 min read
S

Professional Human Being :)

Have you ever imagine how can conditionally render react components and form fields in a cleaner and better way?

Check out Form Fields React

It gives you the ability to move the manipulation or computation that needs to be done before rendering multiple components into a javascript function.

Form Fields React only takes a single prop called fields which is an array of components to be rendered.

Each item in the fields prop could either be a component or container which can also render multiple components.

Here is a link to a working example