Skip to content

Commit 47b6f4d

Browse files
authored
chore: rename smart-components -> modules (#511)
### Description Of Changes Ranamed a legacy terminology `smart-components` to `modules`
1 parent 8f8390b commit 47b6f4d

File tree

306 files changed

+423
-423
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

306 files changed

+423
-423
lines changed

architecture.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
## Main concepts
66

77
* We will use a flux architecture using `useReducer` hook. The sdk, connection, config and user data will be mainly stored in a global store(context) in `SendbirdProvider`(`/src/lib/Sendbird.jsx`)
8-
* ChannelList(`./src/smart-components/ChannelList`) contains list of channels
9-
* Channel(`./src/smart-components/Conversation`) contains list of messages inside a channel
8+
* ChannelList(`./src/modules/ChannelList`) contains list of channels
9+
* Channel(`./src/modules/Conversation`) contains list of messages inside a channel
1010
* The store can be accessed down in component heirarchy using `withSendbird (`/src/lib/SendbirdSdkContext.jsx`) as a higherOrderComponent
1111
* Store should be modified and accessed using dux-esque components in `You can find them in /dux whenever applicable`. Each component should have actionType, reducer, thunks, eventListeners and initialState
12-
* SmartComponents(`src/smart-components`) are components that can access the global state and dispatch actions
12+
* SmartComponents(`src/modules`) are components that can access the global state and dispatch actions
1313

1414
## Usage
1515

0 commit comments

Comments
 (0)