Stay current on the latest innovations and technologies in the React community by listening to our panel of React and Web Development Experts.

RRU 077: Reusing Code Responsibly with Andrey Okonetchnikov

September 03, 2019 39:58 39.35 MB Downloads: 0

Episode Summary

Andrey Okonetchnikov is a specialist in frontend architecture and design systems. He runs his own consultancy and made the package lint-staged. Andrey has been in programming for 20 years and talks about his background, how he got into React, and why he started component-driven.io. Andrey has always been interested in design tools and design systems, it just wasn’t the right time because the right tools weren’t available. 

Since Andrey has been working in frameworks for 20 years and has watched them come and go, Lucas asks Andrey how he has seen the communication between developers and business owners evolve over that time. Andrey reflects on his first conference talk and believes that not much has changed, even if the tools have. His perfect interaction between developers and business owners would be codeless, and would instead draw his design on a napkin. 

This idea ties into Andrey’s ideas of creating things in primitives instead of wireframes. He relates his idea to the pattern philosophy of the building architect Christopher Alexander, the idea that specific design problems require specific solutions. He talks about since everything in React is a component, we can encapsulate a design decision into a component. 

Since the power of components is redistributing knowledge, the panel discusses how components promotes reusability, accessibility, and sustainability in code. However, Frankenstein components are the dark side of reusability. Andrey talks about the dynamic view of a design system that does reuse and how to make sure that it evolves cleanly. They discuss how much of can be planned in advance the first time you’re creating a component versus how much should you not try to think too far ahead and fix it when it comes up. They all agree that early abstraction can be almost as destructive as early optimization

Panelists

  • Leslie Cohn-Wein

  • Thomas Aylott

  • Lucas Reis

With special guest: Andrey Okonetchnikov

Sponsors

  • Sustain Our Software

  • Sentry use the code “devchat” for 2 months free on Sentry’s small plan

  • GitLab | Get 30% off tickets with the promo code: DEVCHATCOMMIT

Links

Follow DevChat on Facebook and Twitter

Picks

Leslie Cohn Wein:

Thomas Aylott:

Lucas Reis:

Andrey Okonetchnikov:

Special Guest: Andrey Okonetchnikov.