Discussion on: State usage in Functional and Class Components in React

kosich profile image
Kostia Palchyk

Hi! Nice article!

Small tip:
to add syntax highlight — just add js or jsx to your code snippets opening backticks.
e.g. '''jsx (with backticks intstead of ')


Also, you might not need a state! Check out my experiment with JSX and RxJS:

  axios(url).then(r => r.data)
chilupa profile image
Pavan Chilukuri Author

Thank you for the suggestion, I've edited my post. 👍