RTRoghashin Timbitiinezrogha.hashnode.dev·Aug 21, 2023 · 4 min readServer-sent Events (SSE)Traditionally, a web client sends a request to the server which then responds with new data, meaning the web client always initiated the communication. With server-sent events, it's possible for a server to send new data to a web client at any time w...00
RTRoghashin Timbitiinezrogha.hashnode.dev·Jun 10, 2022 · 3 min readAnimate SVG Path in RN with ReanimatedStart a new Expo project (Assuming you already installed expo globally) expo init animatedHouse install react-native-svg and react-native-reanimated yarn install react-native-svg react-native-reanimated Add Reanimated's babel plugin to your babel.con...00
RTRoghashin Timbitiinezrogha.hashnode.dev·Sep 30, 2021 · 3 min readHow to render images in OffscreenCanvasJavascript is single threaded meaning everything runs on one thread, this thread is called the main thread. At times there's a lot running on the main thread which affects performance of our apps. To improve this performance, we want to reduce the lo...00
RTRoghashin Timbitiinezrogha.hashnode.dev·Apr 24, 2021 · 5 min readReact Typescript quick referenceDefine types in class-components, Use angle brackets. interface CounterProps { message: string; }; interface CounterState { count: number; }; class Counter extends React.Component<CounterProps, CounterState> { state: CounterState = {...00
RTRoghashin Timbitiinezrogha.hashnode.dev·Nov 27, 2020 · 8 min readKey points about state management and rendering for better optimisation in ReactWhat I present is something I have experienced, read or learnt, therefore may not be the most comprehensive optimisation guide but I am sure you will learn something. Focus is mainly on functional components and React hooks. And now without further a...00