For a beginner (like me) who also doesn't have any significant frontend / react experience some more general "dos & and don'ts" would also be really helpful. Questions I am uncertain about include stuff like:
How much data should/could I pack into props: like 10000 structures that get rendered as a list/child elements?
How do I enable a component to fetch data (e.g. via an agent)? Should the handle to the agent be part of the props or of the struct?
When should I put stuff into the props, and which kind of objects should I maintain in the actual component struct?
Hth
I think we should document anti-patterns. I would be fine with making a PR for those but first we need to list them.
String, instead ofCow<'static, str>as props.From #1834 (comment), as requested by @siku2
The text was updated successfully, but these errors were encountered: