React.js Rich Display 3

Alex (@alex)

27187

0

0

About This Space

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


Last updated on March 23, 2020

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

More Spaces By Alex (@alex)

Filters:

Popular Recent

Simple output to a browser from Node.js

36667

0

0

Example of loading MongoDB data and showing it in a grid

36516

0

0

Eat other NodeRun players to win prizers

36109

4

3

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

35753

0

1

Just testing some ajax calls

35605

0

1

Exploring Rich Display to build a shopping cart

35025

0

0

Static HTML Hello World App

34971

0

0

A demo of how to build Rich Displays in the Visual Designer that integrate with external CSS and JavaScript file

34566

0

0

Stateless demo app, where the mobile client or the browser would control the flow of the application

34165

0

0

This example consumes a list of countries from a GraphQL service

34074

0

0

33567

0

0

33514

0

0