BlogHide Resteemspositivelyzack (25)in react • 6 years agoAdding props or functionality to React childrenFor most cases to render children you can use this.props.children render() {positivelyzack (25)in digitalwellbeing • 7 years agoPositive Product DesignSince Google and Apple made announcements about their digital well-being initiatives, there has been much more interest in positive tech or humane tech. What is positive tech? Positive tech is…positivelyzack (25)in learning • 7 years agoHalf Life: The Decay of Utility of Software Knowledge or why you should learn to learnIn biology, a half-life is the time taken for a substance to lose half its effects. In software I think of a half-life as the time it takes a piece of knowledge to become half as useful. The…positivelyzack (25)in purefunction • 7 years agoPure FunctionsWhat are pure function? Pure functions are functions that return the same output every time given a certain input. They also do not produce any side effects such as network requests or data…positivelyzack (25)in react • 7 years agoDeploying a fullstack React app to HerokuA few steps that may come in handy when deploying your fullstack React app. Deployment Steps 1. Update Server.js Server.js We will create a static build folder for the front end. This will be…positivelyzack (25)in react • 7 years agoComponents with Props In ReactComponents in React behave like functions. They can take in arguments and returns values. Components take in Props (like arguments) and returns some piece of the UI for the app. Props are…positivelyzack (25)in create-reactapp • 7 years agoThe structure of app created with the create-react-app tool.The structure of app created with the create-react-app tool. This was created by installing create-react-app npm install create-react-app positivelyzack (25)in es6 • 7 years agoES6 Javascript exports, imports and the difference between 'default export' & 'export'ES6 provides us with a new way to export and import in our files. ES5 in Node we have module.exports and require() We export our object our method using module.exports And we import it by…