Open frankcollins3 opened 11 months ago
🤖 hath spoken!
[10:58am]
bookmark: // first planned on no directory for Contexts, just a .tsx file in the main root as below: main-root/Img.tsx
now adding Contexts directory because as the parent wrapper will determine different style of captcha down the road .tsx files should separate the different types of images. I was going to name img-src-variables with gold to indicate this style for mine-nugget-ts.
attempting to do: question the img src={} handler of the app. chatGPT mentioned Typescript can add type safety while shipping this to npm
wondering whether: 👍 Keep it Sweet and Simple applies to make the better option: just using image url strings
👍 or is using {context} so below more enforced and restricted
proposed approach: go with typescript for now and any problems revert back to simplicity. ultimately typescript Context would depend on the same image strings that the first approach would depend on anyways