@rbxts/react-redux
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@rbxts/react-redux

roblox-ts typings of react-redux for Roblox.

Installation

To use, @rbxts/react-ts must be installed first.

Changes from Luau version and compatibility

A few minimal changes from the original source have been made to have better roblox-ts compatibility:

  • shallowEqual internally uses @rbxts/luau-polyfill-internal rather than Collections
  • References to Redux directly under node_modules/@rbxts folder in rojo sourcetree removed to avoid having to install a forked @rbxts/rodux to satisfy the rojo sourcetree requirement

Sources

react-redux types were partially derived from DefinitelyTyped/react-redux and DefinitelyTyped/react, with some minor modifications being performed to have compatibility with @rbxts/react-ts. Some types (i.e., Connect and batch) are not exported as they are not present in the Luau react-redux version.

Package Sidebar

Install

npm i @rbxts/react-redux

Weekly Downloads

3

Version

0.1.0

License

MIT

Unpacked Size

46.4 kB

Total Files

21

Last publish

Collaborators

  • overhash