I have been recently working on projects that uses TypeScript with React. The easiest way to get started working with React + TypeScript is through the create-react-app boilerplate. (react-scripts@2.1.0 and above now supports typescript) You can now easily add TypeScript…
In this article, I’ll be showing you how to enable absolute path imports in a create-react-app application without ejecting. To enable absolute path imports, you just have to configure the baseUrl of your project’s jsconfig.json file. (tsconfig.json if you are using…
Render Multiple Components Prior to Version 16 Prior to version 16, the easiest way to render multiple components was by wrapping the components in a single parent element. But with this method, you are adding an unnecessary extra node to…
This is a basic integration of ReactJS into a CakePHP 2.x application. Before we start, make sure you already have a running CakePHP 2.x application. If you don’t have a running CakePHP app, you may clone this basic CakePHP 2.x…