react example

About This Space

react


Last updated on May 14, 2021

Public Permissions:   View   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 Profound.js Spaces.

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:

  • <CustomersGrid /> - 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

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

13252

0

5

This interactive customer inquiry app prompts the user for key fields to lookup a customer record

13232

0

0

Quick To Do List App

13209

0

2

Employee Maintenance Application with a separate Edit Screen

12830

0

1

This is a full database maintenance CRUD application with view, change, add, and delete capabilities

12824

0

7

Voting application

12757

0

0

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

12739

0

1

Customer Orders & Payments Drilldown

12322

0

0

Docs Example - Customer Selection

12275

0

1

Calculate simple mathematical operations using server-side code.

12199

0

1

This app allows a team to decide where to go for lunch (or dinner) by using acceptance voting.

12089

1

5

Simple output to a browser from Node.js

11816

0

4