Conversion of camel case string into snake case and vice-versa
I know, I know this is basic but basic is very important and I believe we should always explore new ways to implement basics. Today I am going to talk about one way for this conversion. As always there are multiple ways to solve this but I am sharing what I implemented in one of…
Best Practices of React Component
Consider below while designing react component Don’t update state (setState) in render method. Use constructor wisely. If you wish to bind event handlers or methods or initialize state then only use constructor. Do not assign props to state unless you wish to fix the value of state for that component. Plan meticulously if you are…
Streaming video in web application
Recently one of our flash developer raised an concern that when he has uploaded a video (.mp4) it is not working properly means not buffering. It start playing only after successful loading of full video which is not right and it should load and play..load and play. I analyze this and found that is it…