FAQ
How to disable sharing on WeChat Mini Program ?
Sorry, it hasn't been implemented.
[Proposal] Add option
disableSharing: true
in the second argument ofrender
and Goji won't injectonShareAppMessage
methods when initializing page. But it also means you should not useuseOnShareAppMessage
otherwise a warning will log.
How to use WeChat bubble event, component relationship or Baidu dispatch
?
Component communication is one of the most complex and awful designs in the native Mini Program.
In Goji we advice to use React Context or professional state management tools like Redux.
Why Subtree
?
[TODO]
Subtree
will render to React.Fragment
on non-wechat platforms.
When should I use Subtree
?
[TODO]