You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reagent.core/reactify-component function is used to generate class-based react components from reagent components. This allows reagent components to be used in react components (e.g. React Navigation's navigators).
Although (1) Reagent supports flagging reagent components inside other reagent components to be functional with the [:f> mycomponent] syntax and (2) we have a global-override enabled to cause [:> (class based) to be behave as [:f> (functional), reactify-component ignores the global override flag and does not have a clear functional counterpart for reagent-in-react compatibility:
This issue is a breakdown of #26
reagent.core/reactify-component
function is used to generate class-based react components from reagent components. This allows reagent components to be used in react components (e.g. React Navigation's navigators).Although (1) Reagent supports flagging reagent components inside other reagent components to be functional with the
[:f> mycomponent]
syntax and (2) we have a global-override enabled to cause[:>
(class based) to be behave as[:f>
(functional),reactify-component
ignores the global override flag and does not have a clear functional counterpart for reagent-in-react compatibility:see: reagent-project/reagent#556
see: reagent-project/reagent#548
However, there is a workaround that's somewhat obscured and implied as deprecated:
see: https://github.com/reagent-project/reagent/blob/fd79a2685e53fcfb71fa68091477f92149c7d0f1/doc/ReactFeatures.md#pre-10-workaround
This issue is to track documenting of the:
The text was updated successfully, but these errors were encountered: