Skip to content

Conversation

@okwasniewski
Copy link
Member

Summary

  • Add separate nav entry for Brownie (Alpha) in docs site
  • Create brownie docs section with 5 pages:
    • Overview with alpha warning and platform support
    • Store definition with *.brownie.ts examples
    • Code generation CLI usage and config
    • TypeScript usage (useStore hook, selectors)
    • Swift usage (SwiftUI @usestore, UIKit subscribe pattern)
  • Note Android support as coming soon

Comment on lines +95 to +97
pre_install do |installer|
system("npx", "brownie", "codegen", "-p", "swift")
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could it be a part of build phases in Xcode maybe?


## useStore Hook

The `useStore` hook provides a `useState`-like API for accessing shared state:
Copy link
Member

@thymikee thymikee Jan 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add information whether changing state triggers a re-render. btw should we even allow for usage without a selector? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants