Skip to content

Subscribe unsubscribe - #90

Open
UnCrowned-K wants to merge 2 commits into
lindelwa122:mainfrom
UnCrowned-K:subscribe_unsubscribe
Open

Subscribe unsubscribe#90
UnCrowned-K wants to merge 2 commits into
lindelwa122:mainfrom
UnCrowned-K:subscribe_unsubscribe

Conversation

@UnCrowned-K

Copy link
Copy Markdown

replace subscription ID counter with collision-resistant nanoid

  • Replace incrementing integer IDs with cryptographically secure nanoid
  • Remove manual _subscriptionId counter variable
  • Update JSDoc to reflect string return type for subscription IDs
  • Add nanoid dependency for robust unique ID generation

Bongani Masanabo and others added 2 commits October 19, 2025 21:03
…ribe/unsubscribe with state updates to trigger all registered callbacks when state changes occur. Provides foundation for reactive programming patterns and component communication through shared state management.
- Replace incrementing integer IDs with cryptographically secure nanoid
- Remove manual _subscriptionId counter variable
- Update JSDoc to reflect string return type for subscription IDs
- Add nanoid dependency for robust unique ID generation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants