React.js Rich Display

About This Space

React.js using Rich Display Components built in the Visual Designer


Last updated on November 9, 2019

Public Permissions:   View   Open/Fork   Run   Comment  

React.js + Rich Display Customer Lookup Template

This template 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 signicantly 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

Filters:

Popular Recent

4322

0

0

Application to output numbers and their squares to the console

4154

0

0

This workspace deploys a custom server

4081

0

0

This workspace deploys a custom server

4136

0

0

This workspace shows you how to add custom widgets to your project

4120

0

0

This interactive app prompts the user for key fields to lookup a database record and displays the results

4172

0

0

This interactive app prompts the user for key fields to lookup a database record and displays the results

4280

0

0

Demo app to use EJS to display information from a database

4300

0

0

Demo app to use EJS to display information from a database

4332

0

0

This workspace illustrates the basic setup of an HTML page that includes external JavaScript and CSS files

4141

0

0

Displaying information in grids is fundamental to developing applications. This demo application displays a list of products in a grid.

4344

0

0

Simple output to a browser from Node.js

4300

0

0