Using Visual Designer with React

About This Space

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


Last updated on July 4, 2019

Forked from: /alex/using-visual-designer-with-react/

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 Amanda (@amanda)

Filters:

Popular Recent

This space demonstrates how to create a more responsive grid using a layout widget and a little bit of JavaScript and a responsive edit screen. It also incorporates consuming a web service to load list data, adding image upload and display to a screen, and using gauges from Fusion Charts

8140

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.

7969

1

1

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.

7857

0

1

A simple poll to gather topics for future meetup events

7847

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.

7668

0

1

A simple dashboard example that uses responsive design

7552

0

0

Simple output to a browser from Node.js

7520

0

0

React.js Application

7286

0

0

Control your Tesla (any model) with this nifty app!

7255

0

0

A Hello World app with both dynamic output and input fields

7253

0

0

Simple output to a browser from Node.js

7251

0

0

React.js Application

7194

0

0