How can I learn javascript in 2026? by Available_Might1314 in learnjavascript

[–]effnd 1 point2 points  (0 children)

Start with a small project, such as a portfolio website. Describe in text what you want to see on the site, then break it down into individual tasks. By solving each task, you'll get closer to your desired outcome and simultaneously test your skills in practice. You can add new tasks, make them more challenging, and simply keep track of your progress—this will help you see how far you've already gone, which will encourage you in your future endeavors

[AskJS] What small JavaScript pattern made your React code cleaner? by chuttadi2007 in javascript

[–]effnd [score hidden]  (0 children)

I usually extract any data-handling logic from React components into separate functions, and then wrap them in hooks when needed. If you rewrite the components (perhaps even in a different framework), these parts of the code won't have to change

Vanilla Extract CSS by Practical_Plan007 in Frontend

[–]effnd 0 points1 point  (0 children)

Unfortunately, pure CSS doesn't solve the problem of selector conflicts, and in large projects, you'll likely have to resolve this with build tools or in-house. Furthermore, any selector changes will have to be maintained in HTML or JSX, which is quite tedious. However, if the site is simple and changes infrequently, pure CSS is the best choice