I have kinda got into a little bit of a nasty habit where, I just slap props onto my component like this:
This means to access any of my parameters, I would need to do this props.parameter
While this works, it leaves the code more messy and is very hard to know what parameters I need when adding a component to a new location. I am also trying to utilize "children" or "slots" better which only adds to the confusion.
The task of this issue is to convert all of the examples props. To looks something like this:
I have kinda got into a little bit of a nasty habit where, I just slap props onto my component like this:
This means to access any of my parameters, I would need to do this
props.parameter
While this works, it leaves the code more messy and is very hard to know what parameters I need when adding a component to a new location. I am also trying to utilize "children" or "slots" better which only adds to the confusion.The task of this issue is to convert all of the examples props. To looks something like this: