
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
react-native-easy-chat
Advanced tools
The easiest chat UI for React Native & Web
This is a chat UI for React Native & Web. It started as a fork of react-native-gifted-chat and then diverged into something different. It's a simple chat UI that is easy to use and integrate. The original project was something I came to rely on for my own projects, but I decided to make it my own after the author and the maintainers stopped actively supporting it. Feel free to fork and contribute!
yarn add react-native-easy-chat
# or
npm install react-native-easy-chat
You need to be using, at least, React v17 or higher with the new JSX transform.
import React, { useState, useCallback, useEffect } from 'react'
import { EasyChat } from 'react-native-easy-chat'
export function Example() {
const [messages, setMessages] = useState([])
useEffect(() => {
setMessages([
{
_id: 1,
text: 'Hello developer',
createdAt: new Date(),
user: {
_id: 2,
name: 'React Native',
avatar: 'https://placeimg.com/140/140/any',
},
},
])
}, [])
const onSend = useCallback((messages = []) => {
setMessages((previousMessages) =>
EasyChat.append(previousMessages, messages),
)
}, [])
return (
<EasyChat
messages={messages}
onSend={(messages) => onSend(messages)}
user={{
_id: 1,
}}
/>
)
}
See App.tsx
for a working demo!
See the files in example-slack-message
for an example
of how to override the default UI to make something that looks more like Slack -
with usernames displayed and all messages on the left.
yarn global add expo-cli
yarn install
expo start
yarn global add expo-cli
yarn install
expo start -w
This documentation is a work in progress. You can check the full detailed docs here.
FAQs
The easiest chat UI for React Native
The npm package react-native-easy-chat receives a total of 10 weekly downloads. As such, react-native-easy-chat popularity was classified as not popular.
We found that react-native-easy-chat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.