Replies: 2 comments 13 replies
-
I just started it, but don't know when I will finish it. Any advice or contribution is welcome. I hope that it won't be "extremely hard" for me haha. https://github.com/busslina/rearch-dart/tree/introducing-react-rearch/packages/react_rearch |
Beta Was this translation helpful? Give feedback.
-
The reason for memo over value here is mostly style, but memo is often used in situations like this when the value it returns could change in the future. In the text editing controller example, it won't since initialText is irrelevant after it has been created, but it many other situations a change to the initialText (or whatever the constructor parameter may be) would warrant recreating the object. |
Beta Was this translation helpful? Give feedback.
-
Is there any particular reason to use
memo
insteadvalue
here?:I'm just about start implementing a ReArch port to
Dart ReAct
and I just want to use the best tools in the best way.Beta Was this translation helpful? Give feedback.
All reactions