Using Visual Designer with React

Alex (@alex)

44294

0

3

About This Space

The Customer Lookup App shows integration between Rich Displays and React.js


Last updated on July 3, 2019

Forked from: /alex/react-product-selection/

Public Permissions:   View   Open/Fork   Run   Comment  

React.js + Rich Display Customer Lookup App

This demo space illustrates the use of the React library with Rich Displays built using the browser-based Visual Designer in NodeRun.

Individual React components are configured as Rich Displays in the Designer and then assembled together using React JSX code. Node.js fetches the data for the components via REST API.

Rich Displays can significantly simplify React application development because most components can be configured in a point-and-click manner, rather than coding markup manually.

To use Rich Display components in React, you simply utilize the <RichDisplay /> component tag.

In this example, there are 2 Rich Display components:

  • <Customers /> - lists the customers in a grid

    Screenshot

  • <CustomerPanel /> - displays specific customer information in a panel

    Screenshot

When a React application uses Rich Displays, maintaining the components becomes easy. For example, if you wanted to add additional grid columns, rearrange information on the panel, or add new widgets and data to a component, you can quickly complete those actions directly in the Visual Designer. When you click Save, your changes are immediately deployed without having to write any additional markup.

Be the first to comment:      

Comments

Write Preview Markdown: bold italic code link
Post

More Spaces By Alex (@alex)

Filters:

Popular Recent

30415

0

0

This is a NodeRun demo space for a Payments applications

32136

0

0

This example consumes a list of countries from a GraphQL service

33454

0

0

This workspace implements Watson Visual Recognition. The application uses your device camera to take your photo, determine how old you look, and tell you all about it using human speech though the speakers on your device.

37438

1

2

Message box with multi-line string

27155

0

0

28112

0

0

RPG Application that allows you to work with Insurance Claims converted to Node.js to run in the cloud, using any database

40209

0

2

Want to allow your users to sort data using drag-and-drop? This space shows you how!

45406

1

5

Example of loading MongoDB data and showing it in a grid

35941

0

0

This is a NodeRun demo space for a Payments applications

39725

0

0