Skip to main content

Examples

Reflex has a couple of example projects that you can use to get started.

If you have an open-source project that uses Reflex, feel free to let me know so I can add it to this list!

TypeScript

A minimal Roblox-TS example project using Reflex for state management.

Currently, this example has:

  • 🍰 Shared producer slices
  • 💾 Player data with Lapis
  • 🛰️ Server-to-client data syncing

Take me to the example →

Usage

Clone this repository to get started.

git clone https://github.com/littensy/reflex-example-ts.git

cd reflex-example-ts
npm install
npm run build

Pre-requisites

Luau

A minimal Luau example project using Reflex for state management.

Currently, this example has:

  • 🍰 Shared producer slices
  • 💾 Player data with Lapis
  • 🛰️ Server-to-client data syncing

Take me to the example →

Usage

Clone this repository to get started.

git clone https://github.com/littensy/reflex-example-luau.git

cd reflex-example-luau
wally install
rojo sourcemap -o sourcemap.json
wally-package-types --sourcemap sourcemap.json Packages

Pre-requisites