reactjs
20 03 2020
Maks Nemisj | javascript |
Have you ever been into a situation where you wanted to do something with your state inside useEffect hook but didn’t want to put it into a dependency array? react-hooks/exhaustive-deps is an excellent guard when working with primitive values, but as soon as you have an object in the state, it might stay on your […]
hooks, javascript, react.js, reactjs
27 06 2016
Maks Nemisj | javascript |
When preparing application for deploying to production env I want to ensure that everything is properly logged, especially things which are unexpected in code. That’s why, I think, proper error handling is crucial to any application. This is a short article on how to do an error handling when going live in isomporhic web app […]
error, express.js, expressjs, fluxible, isomorphic, javascript, node.js, nodejs, react.js, reactjs
28 04 2016
Maks Nemisj | javascript |
If you’ve decided to move react components to es6/es2015 syntax you’ve might found out that defining propTypes and contextTypes is not that seamless as it was. Babel@6.7.7 doesn’t yes support static properties on Classes and the most evident way to use propTypes is to append them to the class at the end: Though there is […]
es2015, es6, javascript, react.js, reactjs