Closed omarchehab98 closed 7 years ago
Migrate bundling from Browserify to Webpack.
https://webpack.js.org
All it requires is aliasing 'react' and 'react-dom' with 'preact-compat'
'react'
'react-dom'
'preact-compat'
It makes sense to be using Preact over React for our simplistic use case. We will see a huge gain in page load.
3kb alternative to React https://github.com/developit/preact
https://github.com/GoogleChrome/sw-precache
https://github.com/ReactTraining/react-router
react-router
preact-router is too minimal. I would stay away from it for now.
preact-router
Migrate bundling from Browserify to Webpack.
https://webpack.js.org
Preact
All it requires is aliasing
'react'
and'react-dom'
with'preact-compat'
It makes sense to be using Preact over React for our simplistic use case. We will see a huge gain in page load.
SW Precache
https://github.com/GoogleChrome/sw-precache
React-Router
https://github.com/ReactTraining/react-router
react-router
manage it instead.preact-router
is too minimal. I would stay away from it for now.