Releases: littensy/reflex
Releases · littensy/reflex
🍰 v3.3.0
This release gives you more powerful createSelector
types and equality checks.
Fixes address an oversight commonly experienced when implementing custom remotes for broadcasters.
✨ What's New
- 🍰 Add
createSelector
overload for receiving variadic selectors instead of an array 315396a - ⚙️ Add
options
parameter tocreateSelector
for custom equality checks 315396a - 🛠️ Export
shallowEqual
for convenience b4f014b
🐛 Fixes
- ✅ Allow
ReceiverOptions.requestState
to return a non-promise value cdadf5a
⏱️ v3.2.1
🔧 v3.1.4
🔍 v3.1.0
This release most notably adds the Producer.observe
method!
We now have a docs site 🎉! Check it out at https://littensy.github.io/reflex/
✨ New Features
🛠️ Changes
⚠️ Emit a warning if you subscribed to a selector that is not idempotent 822190f- 🔐 Enforce deeply read-only state type in TypeScript e64b897
- ✅
enhance
is no longer deprecated, but not recommended 35c58d7
🪲 Bug Fixes
- Fixed misnamed Promise dependency in Wally 6aa5de6
v3.0.1
This release rewrites the package in Luau and sets it up on Wally. Performance improved in all areas up to 40% in benchmarks.
This is a breaking change! See the list of breaking changes.
✨ New Features
- Add
producer.applyMiddleware
method, deprecateproducer.enhance
🛠️ Changes
- Rewrite package in Luau
- Optimize
createSelector
memoization - Improve Producer and
combineProducers
performance
⚠️ Breaking Changes
- Expand on middleware functionality f12e3ee
Broadcaster
andBroadcastReceiver
have methods instead of arrow functions- Rename
BroadcastActionContainer
interface toBroadcastAction
- Some internal types no longer exported
🔌 Installation
npm install @rbxts/reflex@latest
npm install @rbxts/roact-reflex@latest
pnpm add @rbxts/reflex@3 @rbxts/roact-reflex@2