tbh I was wanting to know if this really worked or was dependent on a framework I most likely would fail to create soon or ever. I could it is true answer this question in the proposed space but saw it was not going to do it except in the controled and under the hood steered manner. React seems to need things that I have not found in all my recent searches making it impossible to use on my own.
Hi, thanks. It was okay but would not have worked in anything outside of this setup so I didn’t see it as proper learning if I could not make a jsx file that really works with an html one. I don’t know how to connect them and need to be aware of this to make sense of even the simplest of code. It is like saying jump with a parachute but after the training not having access to a parachute anymore.
there is a challenge teaching how to use the render method later on, you would need that and also importing react, for things to work. If you google how to start a React app there are many guides
Okay. It seems that it is the browser that is the issue then, but how else would I see the results of any code without a browser ? Am I meant to be using preview in an editor?
It doesn’t seem impatient to need to see results or else no beta can be written at all.
React seems much harder to install than every link I have followed. Each one has led to very large sized files for what is the bare bones of something that doesn’t even open yet.
But I don’t want to use codePen. I want to get something that works outside a Pen. The most simple exercises here are completely rejected in any setup not in a sandbox etc
If you set up Vite it should work, there is also CRA, which works but is now outdated.
You also need the render method, which is not included in the code shown in the React steps.
The next version will include more updated React stuff.
There are always so many dependencies and they are out of date or something, don’t actually have the version of react that does render or ReactDOM or any of the things taught. I am looking at this new one you propose now but with zero success in the past will not understand a model to go from and expect dozens of related files where I am needing to know why so many dependencies, gigs just to write hello world.
I put the suggested vite and React in. Wonderful flags wave. Close and reopen and the preview is dead now. I never went big, it is the dependencies that attach and when you remove them it seems they are 100,000 files.
It failed again. I even went really simple and did the suggested inline script so there could be no mixup and the preview is dead as a dodo. It depended upon live process from the install but then all the associations don’t do any of the same things. Open preview again and there are no logos except in the code. A comment suggested I go small to start with. Am I hacked that the links you send get swapped into being actually massive numbers of files when I remove them?