Package Exports
- @rbxts/react-redux
- @rbxts/react-redux/src/init.lua
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rbxts/react-redux) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@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:
shallowEqualinternally uses @rbxts/luau-polyfill-internal rather thanCollections- References to
Reduxdirectly undernode_modules/@rbxtsfolder in rojo sourcetree removed to avoid having to install a forked@rbxts/roduxto 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.