Skip to content

Commit

Permalink
Expose StoreContext in public API (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycuadra authored May 20, 2022
1 parent 53843d4 commit 31f6500
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# RoactRodux Changelog

# Unreleased Changes
## 0.5.1 (2022-05-20)
* Expose StoreContext in public API (for use by hooks) ([#56](https://github.com/Roblox/roact-rodux/pull/56))

## 0.5.0 (2021-12-06)
* Move store connection back to didMount to align more closely with ReactRedux and Roact api.
* Conditionally update child mappedProps on didMount if the mappedStoreState has changed between init and mount. This should prevent components from receiving stale rodux state.
Expand Down
2 changes: 1 addition & 1 deletion rotriever.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "RoactRodux"
author = "Roblox"
license = "Apache-2.0"
content_root = "src"
version = "0.5.0"
version = "0.5.1"
files = ["*", "!*.spec.lua"]

[dependencies]
Expand Down
2 changes: 2 additions & 0 deletions src/init.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
local StoreProvider = require(script.StoreProvider)
local StoreContext = require(script.StoreContext)
local connect = require(script.connect)

return {
StoreProvider = StoreProvider,
StoreContext = StoreContext,
connect = connect,
UNSTABLE_connect2 = connect,
}

0 comments on commit 31f6500

Please sign in to comment.