5 Selecting a podcast hosting service
So I started to think about hosting this properly so thought Id have a quick chat about it.
Image created via grok
4 ChatGPT remembers to hum!?
So the first time I chatted with chatgpt I taught it to hum. However its still not very good. I fear it now thinks it can hum buts having real trouble. It is trying to sing now but it is not very good.
Image generated in grok
3 Can ChatGPT Name My Baby?
The image above was created using Grok.
We will be having a baby girl soon. So we need to decide on a baby name. Names are not so straight forward. In this episode I talk to chatGPT to get some good ideas about baby names.
1 Cant Hum
In this episode I will be talking to chatgpt to about its limitations and in the process I teach it to hum.
Image from Grok
A Simple higher order Component example
I have been factoring my code and have decided that I need to build a few higher order components.
Why?
I have four components that are very similar and all require some data manipulations to be carried out on the props so I figure I can remove all this duplication with a higher order component that takes in the props , runs some functions and then presents the updated props to the components.
What I have done
To help me get my head around higher Order Functions I created a simple example and have put it into codesandbox.
AppSwitcher.js
I have also created a component called AppSwitcher.js that toggles between the app and specific components I am developing. I have found that this can be quite helpful for sandboxing new things in my app and thought I’d include it here in case anyone else find it useful. The flow of the app is like this
index.js -> AppSwitcher -> App.js or {Components to be tested}