The long awaited React 16.8.0 with hooks is now released and as you all know the team at Atyantik Technologies constantly works on improving ReactPWA, so we tested out the code with the new react version and are happy to announce release of @pawjs/pawjsv2.3.0 with support to React hooks, thus releasing ReactPWA v2.2.3
If you are aware of React hooks, you already know how much it would help user to reduce code and thus creating small bundle packages. if you are not aware of the goodness of react hooks do take a look at below links:
We saw improved rendering in DOM as there is reduction in the nested DOM structure which is great!
if you are already using ReactPWA all you need to do is as below:
npm r @pawjs/pawjs react react-dom
WHY? because there are some conflicts if you have two react version!
npm i @pawjs/[email protected]
And that is all folks! You should have access to latest React v16.8.
If you are trying out ReactPWA for the first time just download the latest release of ReactPWA v2.2.3
With stable release of @pawjs/pawjsv2.3.0 we are now supporting TypeScript in ReactPWA with support to ES6 as well (yes all mixed together). We are enjoying typescript and are planning to upgrade PawJS fully with React v16.8 hooks and TypeScript, because it is awesome.
He is the founder of Atyantik Technologies Pvt. Ltd. and shares more than 9 years of experience in software development.