Code NOT to write with Aaron Bruce
Details
Presentation: Code NOT to write with Aaron Bruce
Aaron will be showing off code you shouldn't write when doing React. He knows you shouldn't do them because he has done these things, and felt the pain. Thus, these are not hypotheticals but real world examples he's seen and subsequently diagnosed with his team at Synapse.
Here's the list that Aaron plans to cover, time-permitting. Each will be accompanied by 1 to 2 code examples with a full explanation of why it's not good, why the author (probably) thought it was good, and what to do instead:
• Components that do too much
• Components that do too little
• Rendering too frequently
• Too much logic in render()
• Components that should be split (related to does too much, slightly different)
• Using complex "state" logic in components
• Reusing old state on new instances of page (ie, come back to a form and it is still filled with data from the last time user was on this form)
• Not reusing state when appropriate (fetching data for a component from the api that we've already fetched and we know couldn't have changed)
• Converting immutable objects to javascript objects too soon
• Not understanding when to use `this.props.children`
About Aaron
http://photos3.meetupstatic.com/photos/event/6/e/5/4/600_449428244.jpeg
Aaron Bruce is a full-stack developer for Synapse, a development agency that builds web and mobile apps. They work with everybody from small start-ups that need technical guidance, to government agencies and enterprise clients. Aaron has 8 years of experience as a web dev, using PHP but is primarily Node/JS now.
Agenda
6:30 - 6:50 pm: Networking and food. ClearVoice will provide pizza and soda! Thanks Jeff Nappi and ClearVoice!
6:50 - 7:00 pm: Announcements
7:00 - 8:00 pm: Presentation
Hosted at ClearVoice
Clearvoice: Content marketing made easy
To learn more, please visit https://www.clearvoice.com (https://www.clearvoice.com/).
Generic Pre-requisite:
This is an intermediate React group. If you haven't built a real project in React yourself yet, you could easily find yourself lost during the presentation. If you are new to React, you're welcome to come and make contacts, but consider following online tutorials and attempting to build a site in React beforehand to get the most from the presentation.
