How to convert JSX files offline

ReactJS, 2016-04-07 08:10:40 UTC
For ReactJS project, it is easy to mix an HTML with JavaScript using JSX. We can serve a JSX file to produce an HTML element. But, it's not good because the application must convert it to JavaScript first, then the JavaScript create an HTML element for it. It will kill the application performanc
Share:     

Image error handling in ReactJs

ReactJS, 2016-03-31 03:36:48 UTC
Today I am dealing with image error. The main reason to check an image error is 'image not found'. When this error image rendered, the page looks ugly. This is like trivial problem with server side script. But for client side script, it is tricky.  Here is how to handle it in ReactJS; var Img
Share: