[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: react.png (179 KB, 1030x765)
179 KB PNG
"Just fucking use React" edition.

>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your best friend for fundamentals
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloquent_JavaScript.pdf - A modern introduction to JavaScript
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS

>Resources for backend languages
https://nodejs.org/en/learn/getting-started/introduction-to-nodejs - An intro to Node.js
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial
https://rentry.org/htbby - Links for Python and Go
https://quii.gitbook.io/learn-go-with-tests - Learn Go with Tests

>Resources for miscellaneous areas
https://github.com/bradtraversy/design-resources-for-developers - List of design resources
https://www.digitalocean.com/community/tutorials - Usually the best guides for everything server related

>Need help? Create an example and post the link
https://jsfiddle.net - if you need help with HTML/CSS/JS
https://3v4l.org - if you need help with PHP/HackLang
https://codesandbox.io - if you need help with React/Angular/Vue

/wdg/ may or may not welcome app development discussion. You can post and see what the response is. Some app technologies of course have overlap with web dev, like React Native, Electron, and Flutter.

We have our own website: https://wdg-one.github.io

Submit your project progress updates using this format in your posts, the scraper will pick it up:

:: my-project-title ::
dev:: anon
tools:: PHP, PostgreSQL, etc.
link:: https://my.website.com
repo:: https://github.com/user/repo
progress:: Lorem ipsum dolor sit amet

Previous: >>108681495
>>
>react
Total webdev death.
>>
>>108722373
It literally just works and it's pretty easy to use. Better than reinventing the wheel.
>>
>>108722365
> using react
i don't like to play in traffic like a retard but apparently they do.
>>
>>108722381
If this is the wheel I'd rather walk.
>>
>>108722365
That millennial writing style is insufferable.
>>
I use React
I hate React
>>
>>108722365
>Just fucking use our Israeli Facebook X Vercel framework and be happy
>10mb of js is fine
>Your computer's fans going off is fine
>Complexity is required for our landing page
>>
>>108722632
>Complexity is required for our landing page
yes, otherwise your landing page will be unmaintainable.
>>
I used React for this how'd I do
https://chilitown.org
>>
>>108722381
you can tell who is unemployed here by how much they bitch about react
>>
>>108722736
it sucks regardless whether someone is paid to use it.
>>
>>108722588
>>108722597
Name one problem with React. I'll admit it can feel a bit bloated when used excessively. In which case you could try Preact which is more lightweight.
>>108722608
How would you write it then?
>>108722632
If you write it well then the JS should be far less than 10 MB.
>>
>>108722753
>Name one problem with React.
oh I have no arguments, I just hate it because I didn't grew up with it.
>>
>>108722753
>How would you write it then?
I'd start by not dedicating half of each sentence to curse words that used to be taboo 30 years ago.
>>
>>108722742
react itself doesn't do much, it's a vdom diff algo. what sucks is all the monstrosities people have built on top of it like nextjs
>>
>>108722714
Looks interesting, I like this meme. I guess I'd have to create an account to vote on memes? That's a bit annoying
>>
>>108722753
>Name one problem with React.
React tries very hard to pretend we all exist in a platonic frictionless vacuum
>useMemo
>useRef
>useCallback
>>
>>108722762
Nope voting is anonymous.
>>
File: html.png (164 KB, 1034x765)
164 KB PNG
>>108722760
The reason he's using swear words is because his webpage is inspired by pic related. Source:

https://justfuckingusehtml.com

That page inspired lots of other pages in the same style. It's a meme I guess.
>>
>>108722774
Don't care. That writing style wore out its welcome by 2010.
>>
>>108722769
useMemo isn't needed anymore with the React Compiler, right? The other two are straightforward
>>
>>108722773
Ah right I was just clicking on the memes on the front page instead of clicking "start voting", fair enough. Yeah it looks cool.
>>
File: 1776966615287632.png (2 KB, 379x102)
2 KB PNG
>>108722365
>And when that complexity hits, trying to wrangle it with `document.getElementById`
Who said that's the only other option?
>>
>>108722365
the issue isn't using React to deal with complexity, the issue is front-end devs making simple things needlessly complex and SLOW by pumping everything full of React imports, animations and mountains of JS in general, without any consideration for what the users actually need.
>>
>>108722714
AI slop
>>
Vue > React when you're not from Mumbai
>>
>>108722912
He's constantly in the /vcg/ as well with it, so I guess he's breaking containment
>>
>>108722381
Is React better than Angular+ngrx? That's the framework I used before and it was hell.
>>
>>108722714
I like fast and snappy interfaces, so this isn't for me
>>
>>108722365
>"Just fucking use React"
React is legacy tech
https://infrequently.org/2024/11/if-not-react-then-what
>>
>>108722753
>If you write it well then the JS should be far less than 10 MB.
all ill say is that the bloatmaxxed laggmaxxed trackermaxxed websites are always react while the shiny jsmaxxed but fast ones are always vue/svelte/solid
>>
File: vercel netanyahu x.png (210 KB, 503x283)
210 KB PNG
>>108722365
this is who controls the react ecosystem nowadays btw
>>
>>108722912
>>108722975
>>108722993
All feedback is appreciated anons
>>
File: solid.png (35 KB, 580x240)
35 KB PNG
Google tells me this is the most performant front-end framework. Should I try it? As a bonus it uses JSX so I guess it'll feel familiar, coming from React.
>>
>>108723168
Your userbase is retarded american middle-schoolers
>>
>>108723429
There's barely a userbase yet
>>
>>108723244
Not sure how valuable my take is but:
I only ever did 2 small hobby project using react before trying solidjs and it quickly turned into a more fun javascript framework for me.
>>
WHY ITS NOT POSSIBLE TO LEARN LARAVEL PHP BACKEND WITHOUT STUPID js
>>
>>108723626
full SSR is not practical, because it means refreshing the page at EVERY step
>>
>>108723626
What do you mean? Nothing's stopping you from using html templates only or making an API and a SPA separately
>>
>>108723580
Thanks. Maybe I should try Solid although I might just stick with React for my hobby projects. So many job ads mention React. If my CV says "made a website with React" then that will impress some HR person more than "made a website with Solid.js, which is similar to React".
>>
>>108724275
This automatically forces me to write own auth system.
>>
File: webdev.png (1.32 MB, 2184x3144)
1.32 MB PNG
>>
I want to make my api i has two sites any ideas for the api?
>>
>>108724847
Laravel comes with an auth system doe?
>>
>>108722365
>pic: sometimes complexity is a requirement
Opinion discarded.

Sometimes complexity is a corollary or consequence.
But complexity is NEVER a requirement.
>>
Serious question:
Are you guys not scared of the rise of AI? Or are you just hobbyists?
>>
>>108725228
what are you worried about it's already here and the job is already baby sitting AI outputs
>>
>>108725228
>Are you guys not scared of the rise of AI?
my logic is that you might as well have an actual programmer babysitting AI instead of a "prompter", mostly because they'd have 0 clue of wtf is going on with the code to begin with
>>
>>108725247
Chat GPT said this;
>Pseudoskill through assistant
Its already 10 developers for 1 job.
>>
>>108725278
>Chat GPT said
>info hallucination tool said
k
>>
>>108725236
>>108725247

True, but it would still require less employees. I supposed if you're the most valuable of your team, then you can make it through the storm
>>
>>108725278
>>108725369
reminds me of one of the project's top dogs addressing one of the comments of a prompter pro in my team as "hello chatgpt", then telling him that ai without context hallucinates
>>
>Native title tooltips have browser-controlled delay

CUNTS
>>
>JUST FUCKING USE REACT REEE
Don't tell me that is unironic? Are the faggots really this briandead?
>>
>>108725369
you don't need to be the mvp, being above average and showing good understanding + know how to proompt is enough. if anything the bar is even lower now
>>
>>108725524
custom made tooltips are quiet the mindfuck, things like borders and available space, never implemented them myself, but I figure that unless you have good abstraction and planning it can become quiet the spaghett monster and also shitty performance
>>
usecase for reimplementing tooltips?
>>
>>108722753
>Name one problem with React.

Name one reason to use React.
>>
>>108726608
The designer wants it black and thick and with an arrow head
>>
File: poop.png (73 KB, 1092x135)
73 KB PNG
>>108722365
lol, this ad right now
>>
p. 9, no
>>
>>108722753
whenever a site is unbelievably slow, it's always a react site
>>
>>108729523
Thank you for saving the thread
>>108729577
Skill issue
>>
>>108729669
my skill at navigating to websites is unparalleled
>>
>>108729694
I of course mean the skill of whoever made the website
>>
>>108729705
seems to be a trait of react
>>
>>108725228
everyone shitting their pants about AI didn't live through the "we can just offshore it to jeets for 0.1x of the price"
Code generation was never the problem
>>
I fall down into fap-coding cycle.
I fap then i go and code all night then fap and again cycle repeats
Im living on the sister flat alone, at first i was shy but now im dont care.
>>
>>108731415
>and code all night
count your blessings
>>
You'll like this lads
>spend a couple hours talking to chatgpt to try and get a feature working
>it gives me a solution which i think is a bit complicated, but okay, i'll give it a shot
>implement it
>run it
>doesn't work
>go back and forth with chatgpt trying to fix things
>eventually realise that chatgpt assumed i was using a popular package, when actually i'm using a different package
>chatgpt's solution, which i spent a couple hours working through, was completely irrelevant given the package i'm actually using
>>
>>108733621
Sit down prompter - F.
>>
>>108722365
Having to do useref instead of getelementbyid takes the cross linking of replies in this very thread from a 50 loc job to a 550 loc job
>>
>>108733621
context, u could have probably just shared the package json or whatever you have that lists the packages or libraries
>>
File: e977d57630e.jpg (48 KB, 540x876)
48 KB JPG
I want to make a game
Should i use Phaser or Construct?
>>
what's the deal with these lottie animations



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.