Skip to content
This repository was archived by the owner on May 8, 2023. It is now read-only.

Commit d5973a0

Browse files
authored
Add link to react-cosmos-redux
1 parent c9117ef commit d5973a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

NEXT.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ export default ({ children }) => <Provider store={store}>{children}</Provider>;
108108
109109
Here's a [basic Redux decorator example](https://github.com/skidding/flatris/blob/b87634a69feb9baf8347e90cdf034704e457e88c/web/components/FlatrisGame/cosmos.decorator.js#L24-L30).
110110

111+
### Redux state mock
112+
113+
Check out [react-cosmos-redux](https://github.com/skidding/react-cosmos-redux) if you'd like to see what a Cosmos Next decorator looks like. It works with the latest `react-redux` version and it's written with _hooks_ 💃.
114+
111115
## UI plugins
112116

113117
A main feature of the Cosmos Next redesign is the brand-new UI plugin architecture. While the new UI is created 100% from plugins, the plugin API is not yet documented. This is the next step.

0 commit comments

Comments
 (0)