6 ms·
This is really cool! Sorry if this is kind of a dumb question but I know nothing about web development: can I use this without running node on the server? I'd l
by Twinklebear 11y ago
This is really cool! Sorry if this is kind of a dumb question but I know nothing about web development: can I use this without running node on the server? I'd like to use this for a WebGL distance field renderer I'm working on but host things on my Github page and thus can only do client side stuff. Getting a server is a possibility but for just one tiny project it doesn't seem worth it.
- casesandberg 11y agoYeah, you totally can! It's all front-end with React and Webpack. You can use Webpack in development and just have it build the static html and js files for gh-pages. Thats how the documentation site is built :)
- ClayM 11y agoYes, you can absolutely run React components without the use of a server. You can edit an html file locally and put a react component in there. That's usually the first thing most React tutorials have you do. If you're using a backend server you're just rendering the react stuff to html and sending it to the client.
- Twinklebear 11y agoGreat! I'll go check out some React tutorials.
- TN1ck 11y agoI think you are searching for something like dat.GUI [1], most WebGL-demos are using it. [1] http://workshop.chromeexperiments.com/examples/gui/#1--Basic-Usage http://workshop.chromeexperiments.com/examples/gui/#1--Basic...