Skip to content

yyao007/layer

Repository files navigation

React chat UI example using Layer SDK

This is a simple example on how one would use the Layer Web SDK and Layer UI for Web with the ReactJS framework.

Installation

To install all dependencies and build this project use the following command:

npm install

Running

To run this project use the following command:

npm start

Point your browser to: localhost:8080

Architecture

Understanding this application requires understanding two things:

  1. Redux architecture
  2. layer-react module

The layer-react module provides a LayerProvider for wrapping UI Components; it takes as input a Client, and passes to its children the output of Conversation and Message queries.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors