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 is a simple demo of Fibers! Fibers simplifies code by avoiding messy code known as "callback hell", "promises hell", or "async/await hell". Once Fibers is setup, you never have to think about callbacks or promises (they are handled automatically for you).

20480

0

5

A simple Demo of how to deploy EJS templates from a stateful Node.js script

17686

0

6

This lab walks you through building a series of Node.js applications that work with employee data.

17326

3

7

Simple example of a real world business application

16648

0

1

Demo app to use EJS to display information from a database

16041

0

4

This space illustrates the simplest way to load a Rich Display grid with data, where all records are sent to the grid in bulk.

15185

0

6

User Account Management and Login System

14945

0

1

Simple inquiry application that shows Customer Orders and Payments

14751

0

2

A simple dashboard example that uses responsive design

14145

0

3

Simple Service Request Form Application

13299

0

1

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

13100

0

5