HN user

jkol36

6 karma
Posts9
Comments10
View on HN
[dead] 3 years ago

Feel free to email me at jonkolmanllc@gmail.com if you have any comments or ideas on how to improve it.

Just a question. Why would you create a new button component when the only thing it does is return a <button> html element with text inside. Why not just do {listitems.map(listitem) => {return (<button> {listitem.text}</button)}}. I think react facilitates unnecessary boiler plate logic like that. When in reality a component should probably do more in order to save code if it's going to be created at all. Just my opinion. Open to other people's thoughts on this.

Not unless it's abused. I've capped the maximum amount of accounts one is able to follow at 1000 a day. Same story for favoriting tweets.