RearchConsumer vs StatelessWidget #186
-
If I have a Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You won’t notice a difference. StatelessWidget would be the proper solution here since you don’t need the handle, but either should be fine performance wise, especially since you don’t use the handle. the @rearchWidget macro actually already switches between the two automatically for you, but obviously macros are still half-baked at the moment and aren’t stable yet. |
Beta Was this translation helpful? Give feedback.
You won’t notice a difference. StatelessWidget would be the proper solution here since you don’t need the handle, but either should be fine performance wise, especially since you don’t use the handle.
the @rearchWidget macro actually already switches between the two automatically for you, but obviously macros are still half-baked at the moment and aren’t stable yet.