How to: React - Chat Application

How to: React - Chat Application
0

#1

I am following this repo: https://github.com/justadudewhohacks/websocket-chat and planning to create a react chat application like this using create-react-app any ideas and advise how to implement this on CRA?
And without the need of webpack as dependency? I’ve seen earlier that webpack config can’t be tweaked in CRA not unless you eject as explained here

Thanks :slight_smile:


#2

CRA is built on webpack, it won’t work otherwise. If you don’t want to use webpack, don’t use CRA. CRA is expressly designed to not allow webpack config, so you either eject and handle all the dependencies yourself, or, again, you don’t use CRA.


#3

What special webpack config do you need that regular CRA doesn’t already do by default? Because the webpack config in that seems very straightforward