itsMapleLeaf 35fbf93be7 trying to reduce "layers of conversion"
one problem with the current iteration of reacord is the number of conversation layers there are between internals and the adapter.

the flow is: elements -> node tree -> reacord objects -> adapter objects -> adapter renderer

so far it looks like I can reduce this to: elements -> node tree -> adapter renderer
2022-07-24 15:02:07 -05:00
2022-07-23 14:42:12 -05:00
2022-07-22 22:19:48 -05:00
2022-01-09 17:36:42 -06:00
2021-12-29 14:36:54 -06:00
2022-04-25 14:52:04 -05:00
2022-07-21 16:20:14 -05:00
2022-04-25 14:52:04 -05:00
2022-04-22 23:50:01 -05:00
2022-07-22 13:51:02 -05:00
2022-07-23 14:24:12 -05:00
2022-01-09 17:40:15 -06:00
2022-04-22 23:22:28 -05:00
2022-01-12 09:55:03 -06:00

Reacord: Create interactive Discord messages using React

Installation ∙ npm

# npm
npm install reacord react discord.js

# yarn
yarn add reacord react discord.js

# pnpm
pnpm add reacord react discord.js

Get Started

Visit the docs to get started.

Example

import * as React from "react"
import { Embed, Button } from "reacord"

function Counter() {
  const [count, setCount] = React.useState(0)
  return (
    <>
      <Embed title="Counter">
        This button has been clicked {count} times.
      </Embed>
      <Button onClick={() => setCount(count + 1)}>
        +1
      </Button>
    </>
  )
}

Counter demo

Languages
TypeScript 99.9%