Kameron TanseliinITNEXTThe rules of reusable componentsComponents are often reused with different styles & layouts. Here are a few rules I learnt to help save time and potential painNov 10, 20186Nov 10, 20186
Kameron TanseliTesting a component that uses React HooksHooks are a new feature proposal that lets you use state and other React features without writing a class. They’re currently in React…Nov 2, 2018Nov 2, 2018
Kameron TanseliinITNEXTUtilise render props to separate logic from presentation in ReactSeparating logic from your presentation has always been a best practise. It enforces the single responsibility principle (SRP) and makes…Jun 10, 20182Jun 10, 20182
Kameron TanseliFlow type checking tipsFor the past 3 months I have been adding more Flow type checking to a codebase.Nov 28, 20171Nov 28, 20171
Kameron Tanseli9 ways to level up your JavaScript code1. Don’t use commas when declaring variablesApr 8, 20175Apr 8, 20175
Kameron TanseliQuick Guide to using interfaces with JavaScriptInterfaces are great for when you need to enforce some rules about how a developer builds a class. For example we have a Form class, this…Dec 19, 20165Dec 19, 20165
Kameron TanseliWriting reusable JavaScriptDon’t reinvent the wheel, just realign it. — Anthony J. D’AngeloDec 14, 20163Dec 14, 20163