@rbxts/react-redux v0.1.0-ts.1
@rbxts/react-redux
roblox-ts typings of react-redux for Roblox.
Installation
To use, @rbxts/react must be installed first.
You will also need @rbxts/rodux installed.
⚠️ Caution: react-ts to react migration
This package has migrated from @rbxts/react-ts to @rbxts/react in the change from version 0.1.0 to 0.1.0-ts.1.
If you need to use @rbxts/react-ts for legacy reasons, and cannot migrate your game to @rbxts/react, please use npm install @rbxts/react-ts@0.1.0.
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. Some types (i.e., Connect and batch) are not exported as they are not present in the Luau react-redux version.
1 year ago
2 years ago