teleren/devto huggingface dataset:
<self-close /> or <not-to-self-close></not-to-self-close>
Tags: webdev, javascript, html, discuss
Published: 2024-04-19 15:00:00

## The Biggest Lie In HTML? 👺

I just came by Theo's kinda clickbaity video ["The Biggest Lie In HTML"](https://www.youtube.com/watch?v=0P7wmooc95s). 

I recommend watching the video, but here is a TLDW: 
HTML standard is "broken", and Svelte and React treat self-closing tags differently. For more details, there is an awesome article by Jake Archibald [The case against self-closing tags in HTML](https://jakearchibald.com/2023/against-self-closing-tags-in-html/)

## There is no such thing as self-closing ⚠️

First of all, self-closing tags do not exist in HTML. We only have Void elements!

> A void element is an element in HTML that cannot have any child nodes (i.e., nested elements or text nodes). Void elements only have a start tag; end tags must not be specified for void elements.

Source: https://developer.mozilla.org/en-US/docs/Glossary/Void_element

## My thoughts 💭

I'm okay with void elements, mostly because they greatly help readability! For me `<br></br>` or `<img></img>` would be strange. So I think the real question is what elements can have children nodes and what not.

Watching the video, I immediately remembered one of the first mistakes I made when learning HTML. At the time, I only had one PHP book and no access to sites like w3School or MDN.

```html
<textarea>
Why does this show up as the value of the textarea?
</textarea>

<input type="text">
And why is this not?
</input>
```

![The result of the code snippet above, showing the text is outside of the input while the other text is inside of the textarea](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1vg0gzxy87iy9njamqyz.png)

I think we can argue why `<input type="text">value</input>` is treated as invalid. I understand the textareas are multi-line, so we need a children text node inside them to have line breaks. But why are inputs - and I mainly talk about text inputs - so different? After all, they also need a way to represent their values!

We could say that input fields are meant to be filled out by the end user, so why would we need to "hardcode" their value into the markup language? But thinking about it, isn’t it the same with textareas?

Inputs are quite strange in general. Why did we jazz up a single element instead of having multiple purposes built?
Speaking of which, why `<input type="multi-line"/>` is not a thing? I think it would make validation easier, wouldn’t it?

Anyway, what do you think?

```
<self-close/>
OR
<not-to-self-close></not-to-self-close>
```
My first international conference🚀
Tags: webdev, react, javascript, programming
Published: 2024-04-19 14:44:01

Super excited to share that I'll be speaking at React Global Online Summit 24

I'll be talking on "Create a React app with Wing backend"

29th May😃


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f22fyb2k4cd4mnqi20z4.jpeg)
Can someone help me with the coding here?
Tags: webdev, beginners, programming, node
Published: 2024-04-19 14:39:28

Hi, I am new to nodeJS and express. I am trying to insert images into my ejs files and the images are located in a folder called "assets". How can i go in doing that?

```
const express = require('express')
const app = express()
const router = express.Router();
const port = 3000;


// set the app to use ejs for rendering
app.set('view engine', 'ejs');

const cssdirectory = express.static(__dirname + '/css');
const imagediretory = express.static(__dirname + '/assets');

app.listen(port, () => {
  console.log(`Example app listening on port ${port}`)
});

const readerRoutes = require('./routes/reader');
app.use('/', readerRoutes);

app.use('/css/',cssdirectory);
```
React Server Components: A New Era of Web Development?
Tags: softwaredevelopment, optimisticui, react, rsc
Published: 2024-05-18 18:16:33

---
title: React Server Components: A New Era of Web Development?
published: true
date: 2024-04-19 14:21:02 UTC
tags: SoftwareDevelopment,optimisticui,react,rsc
canonical_url: https://blog.jonathanflower.com/software-development/react-server-components-a-new-era-of-web-development/
---

Here is a great podcast that captures some of the history from Dan Abramov:

[React Server Components with Dan Abramov (JS Party #311)](https://changelog.com/jsparty/311#t=4361)

Part of what I found interesting is the misconception that RSC is all about server side rendering. There is some question about there potentially being a better name.

I like how Josh Comeau explains it:

> React Server Components is not a replacement for Server Side Rendering. You shouldn’t think of React Server Components as “SSR version 2.0”.  
> Instead, I like to think of it as two separate puzzle pieces that snap together perfectly, two flavors that complement each other.  
> We still rely on Server Side Rendering to generate the initial HTML. React Server Components builds on top of that, allowing us to omit certain components from the client-side JavaScript bundle, ensuring they only run on the server.
> 
> <cite><a href="https://www.joshwcomeau.com/react/server-components/">Making Sense of React Server Components</a> – Josh Comeau</cite>

And here is another great podcast about RSC: [Simplifying Server Components by Mark Dalgleish](https://portal.gitnation.org/contents/simplifying-server-components)

I am still on the fence about RCS. Clarifying that this is not simply SSR 2.0 is helping me get over some of my resistance. However, I am failing to see enough value add here for most web apps. An approach like this is complicated and presents its’ own set of challenges. This new approach requires adopting a novel mental model for how the app works. This means it will present a challenge for developers to adopt and troubleshoot effectively. If your solution can be delivered as an SPA or SSR, the developer experience and performance is pretty great these days. I wonder at what point does it start to make sense to add the complexity of RSC.

The other area I am researching is how to deploy offline first with RSC. I am a huge fan of offline first and optimistic UI patterns because of the massive performance and scalability advantages. It is not clear to me how to develop these patterns with RSC or if you would want to.

One very cool application of RSC is in AI agents. Since the AI models are server side, it makes sense to render components server side. Having the ability to dynamically render UI for each AI agent response has some very cool use cases. Checkout what Vercel is doing with what they are calling Generative UI: [Introducing AI SDK 3.0 with Generative UI support](https://vercel.com/blog/ai-sdk-3-generative-ui)
1XBET - 1XBETVI.COM.CO | LINK VÀO 1XBET TRỰC TUYẾN
Published: 2024-04-19 12:55:25

1XBET luon duoc biet den nhu mot dia diem giai tri chat luong, uy tin voi nhieu uu diem vuot troi. 1XBET Win tung ra nhieu uu dai vang cho nguoi moi moi.
Dia Chi: 149/9 Tan Thoi Nhat 17, Tan Thoi Nhat, Quan 12, Thanh pho Ho Chi Minh, Viet Nam
Email: 1xbetvicomco@gmail.com
Website: https://1xbetvi.com.co/
Dien Thoai: (+63) 9293844797
#1xbet #1xbetvi #1xbetwin
Social LInks:

https://1xbetvi.com.co/

https://www.facebook.com/1xbetvicomco/

https://www.youtube.com/channel/UCTjBBF20DohVKrSoArBDIxA

https://www.pinterest.com/1xbetvicomco/

https://www.tumblr.com/1xbetvicomco

https://vimeo.com/1xbetvicomco

https://www.twitch.tv/1xbetvicomco/about

https://www.reddit.com/user/1xbetvicomco/

https://500px.com/p/1xbetvicomco?view=photos

https://gravatar.com/1xbetvicomco

https://www.blogger.com/profile/04933715575010029040

https://1xbetvicomco.blogspot.com/

https://draft.blogger.com/profile/04933715575010029040

https://twitter.com/1xbetvicomco

https://www.instapaper.com/p/14092824

https://hub.docker.com/r/1xbetvicomco/1xbetvicomco

https://www.mixcloud.com/1xbetvicomco/

https://flipboard.com/@comco1xbetvi/1xbet-1xbetvi.com.co-%7C-link-v%C3%A0o-1xbet-tr%E1%BB%B1c-tuy%E1%BA%BFn-ul3ee2g5z?from=share&utm_source=flipboard&utm_medium=curator_share

https://issuu.com/1xbetvicomco

https://www.liveinternet.ru/users/casino1xbetvicomco/profile

https://beermapping.com/account/1xbetvicomco

https://qiita.com/1xbetvicomco

https://www.reverbnation.com/artist/1xbetvicomco

https://guides.co/g/1xbetvicomco/363041

https://os.mbed.com/users/1xbetvicomco/

https://myanimelist.net/profile/1xbetvicomco

https://www.metooo.io/u/1xbetvicomco

https://www.fitday.com/fitness/forums/members/1xbetvicomco.html

https://www.veoh.com/users/1xbetvicomco

https://gifyu.com/1xbetvicomco

https://www.dermandar.com/user/1xbetvicomco/

https://hypothes.is/users/1xbetvicomco

http://molbiol.ru/forums/index.php?showuser=1339215

https://leetcode.com/1xbetvicomco/

https://www.walkscore.com/people/620762368245/1xbetvicomco

http://www.fanart-central.net/user/1xbetvicomco/profile

https://www.chordie.com/forum/profile.php?id=1917578

http://hawkee.com/profile/6515052/

https://codepen.io/1xbetvicomco

https://jsfiddle.net/1xbetvicomco/56ny4mg8/

https://forum.acronis.com/user/625004

https://www.funddreamer.com/users/1xbetvicomco

https://www.renderosity.com/users/id:1475898

https://turkish.ava360.com/user/1xbetvicomco

https://www.storeboard.com/1xbetvicomco

https://doodleordie.com/profile/xbetvicomco

https://mstdn.jp/@1xbetvicomco

https://community.windy.com/user/1xbetvicomco

https://connect.gt/user/1xbetvicomco

https://teletype.in/@1xbetvicomco

https://rentry.co/1xbetvicomco

https://talktoislam.com/user/1xbetvicomco

https://www.credly.com/users/1xbetvicomco/badges

https://www.roleplaygateway.com/member/1xbetvicomco/

https://masto.nu/@1xbetvicomco

https://www.ohay.tv/profile/1xbetvicomco

https://www.mapleprimes.com/users/1xbetvicomco
What was your win this week?
Tags: discuss, weeklyretro
Published: 2024-04-19 14:00:00

Yo! 🙌

The weekend is officially here. Hope y'all all collectively had a good week! 🤜💥🤛

Looking back on this past week, what was something you were proud of accomplishing?

All wins count — big or small 🎉 

Examples of 'wins' include: 
- Starting a new project
- Fixing a tricky bug
- Impressing your friends 🤯

---

![Dude smiling confidently and looking directly into the camera while his friends all around him freak out. One dude puts his hands on the sides of his face and screams in disbelief while passing the camera in a super animated and silly way.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w7myhr8q3c5ny5wr6efw.gif)

---

**_Did you know we feature wins in our "Wins of the Week" email every Friday? [Subscribe to our weekly newsletter emails](https://dev.to/settings/notifications) to get wins delivered right to your inbox!_** 💌
flash btc
Published: 2024-04-19 13:55:50

Flash Bitcoin is a type of cryptocurrency that is sent to your wallet but does not remain there permanently, as it is dependent on the software used to flash the coin click here. While flash bitcoin is indistinguishable from real bitcoin, the key difference lies in its temporary nature. These coins are generated by specific flash bitcoin software, which allows users to send fake bitcoin into the blockchain network for a designated period of time, typically 90 days. This temporary currency functions like real bitcoin during its lifespan but will disappear from the block chain after the specified time frame.

telegram t.me/eaziishops


flash bitcoin software

Can you earn money with this software

It is possible to earn money without any initial investment through the use of bitcoin flash technology. However, it is crucial to exercise caution and conduct thorough research before engaging with developers or vendors in this space, as some may source their tools from the dark web. To explore reputable sources for flash bitcoin and related software, please visit our recommended website. (https://eaziishop.shop/) . https://eaziishop.shop/product-category/flash/ . https://eaziishop.shop/contact-us/ . https://eaziishop.shop/what-is-flash-bitcoin/

WHAT IS FLASH BITCOIN
Looking for a fast and easy way to send and generate flash bitcoins? Look no further than eaziishop Flashcore Bitcoin…
flash bitcoin
Tags: flashbitcoin, flashbitcoinsender, bitcoin, crypto
Published: 2024-04-19 13:52:42

Flash Bitcoin is a type of cryptocurrency that is sent to your wallet but does not remain there permanently, as it is dependent on the software used to flash the coin click here. While flash bitcoin is indistinguishable from real bitcoin, the key difference lies in its temporary nature. These coins are generated by specific flash bitcoin software, which allows users to send fake bitcoin into the blockchain network for a designated period of time, typically 90 days. This temporary currency functions like real bitcoin during its lifespan but will disappear from the block chain after the specified time frame.

telegram t.me/eaziishops


flash bitcoin software

Can you earn money with this software

It is possible to earn money without any initial investment through the use of bitcoin flash technology. However, it is crucial to exercise caution and conduct thorough research before engaging with developers or vendors in this space, as some may source their tools from the dark web. To explore reputable sources for flash bitcoin and related software, please visit our recommended website. https://eaziishop.shop/ . https://eaziishop.shop/product-category/flash/ . https://eaziishop.shop/contact-us/ . https://eaziishop.shop/what-is-flash-bitcoin/

WHAT IS FLASH BITCOIN
Looking for a fast and easy way to send and generate flash bitcoins? Look no further than eaziishop Flashcore Bitcoin…
Hello World
Tags: webdev, javascript, machinelearning, community
Published: 2024-04-19 13:50:47

Welcome everyone to my very first post! So excited to connect and contribute to the community!

My name is Adam Azuddin, I'm a student from Malaysia, and currently learning new technologies that interest me. I have a passion of learning and understanding things on a deeper level, as I value not only the knowledge but also the practical skills needed to implement it. Sounds like a lot of jargon coming from a newbie though, but writing this feels quite fun honestly.

As for my skills and backgrounds, I've learned and done quite a lot of personal projects on web dev using React and NextJs. I also joined a competitive programming competition in high school which is what got me first into programming where I first learned Python.

Currently, I'm focusing on building projects that integrate both web dev and AI, as I recently got heavily invested in Artificial Intelligence and Machine Learning. Completed Andrew Ng's first [course](https://www.coursera.org/learn/machine-learning?specialization=machine-learning-introduction) on Coursera about machine learning which gave me the fundamentals, but I feel like it's not enough. So, I decided to dive deeper into neural networks, first through the [3Blue1Brown playlist about neural network](https://www.3blue1brown.com/topics/neural-networks), which also links to an [awesome book by Michael Nielsen](http://neuralnetworksanddeeplearning.com/index.html) about the mathematical details of neural network. I also learned the basics of PyTorch from [here](https://youtu.be/Z_ikDlimN6A?si=72pA6_w_7QsHN5ZN). Although I didn't finish the whole video (it's literally about a day long), I decided to get my hands dirty and work on projects using PyTorch, which is the way I love to do to gain any new skills.

Currently, I'm planning my first mega project which integrate both web development and machine learning models to create a website that I can have pride on. I know it's an enormous mountain to climb, but even if I don't reach the top at least I got higher than if I didn't try at all right?

Would love any opportunity to connect with anyone, as I am just getting my foot in the door. You guys can contact me through my [Linkedin](https://my.linkedin.com/in/adam-azuddin), [Github](https://github.com/AdamAzuddin) or email me at azuddinadam@gmail.com. Thank you and see you guys next time!
what is flash bitcoin
Tags: bitcoin, flashbitcoin, flash, flashbitcoinsender
Published: 2024-04-19 13:50:05

Flash Bitcoin is a type of cryptocurrency that is sent to your wallet but does not remain there permanently, as it is dependent on the software used to flash the coin click here. While flash bitcoin is indistinguishable from real bitcoin, the key difference lies in its temporary nature. These coins are generated by specific flash bitcoin software, which allows users to send fake bitcoin into the blockchain network for a designated period of time, typically 90 days. This temporary currency functions like real bitcoin during its lifespan but will disappear from the block chain after the specified time frame.

telegram t.me/eaziishops


flash bitcoin software

Can you earn money with this software

It is possible to earn money without any initial investment through the use of bitcoin flash technology. However, it is crucial to exercise caution and conduct thorough research before engaging with developers or vendors in this space, as some may source their tools from the dark web. To explore reputable sources for flash bitcoin and related software, please visit our recommended website. https://eaziishop.shop/ . https://eaziishop.shop/product-category/flash/ . https://eaziishop.shop/contact-us/ . https://eaziishop.shop/what-is-flash-bitcoin/

WHAT IS FLASH BITCOIN
Looking for a fast and easy way to send and generate flash bitcoins? Look no further than eaziishop Flashcore Bitcoin…
what is flash bitcoin
Tags: flash, flashbitcoin, flashbitcoingenerator
Published: 2024-04-19 13:47:24

Flash Bitcoin is a type of cryptocurrency that is sent to your wallet but does not remain there permanently, as it is dependent on the software used to flash the coin click here. While flash bitcoin is indistinguishable from real bitcoin, the key difference lies in its temporary nature. These coins are generated by specific flash bitcoin software, which allows users to send fake bitcoin into the blockchain network for a designated period of time, typically 90 days. This temporary currency functions like real bitcoin during its lifespan but will disappear from the block chain after the specified time frame.

telegram t.me/eaziishops


flash bitcoin software

Can you earn money with this software

It is possible to earn money without any initial investment through the use of bitcoin flash technology. However, it is crucial to exercise caution and conduct thorough research before engaging with developers or vendors in this space, as some may source their tools from the dark web. To explore reputable sources for flash bitcoin and related software, please visit our recommended website. https://eaziishop.shop/ . https://eaziishop.shop/product-category/flash/ . https://eaziishop.shop/contact-us/ . https://eaziishop.shop/what-is-flash-bitcoin/

WHAT IS FLASH BITCOIN
Looking for a fast and easy way to send and generate flash bitcoins? Look no further than eaziishop Flashcore Bitcoin…
Hiring React JS Dev
Tags: javascript, career, interview, react
Published: 2024-04-19 13:46:27

**[HIRING] [REMOTE]. Part time.**
Hi everyone! I'm looking for someone who has experience in REACT JS to assist me in creating an advanced level game, with a specific concept in mind, using React JS. This strategy-like RPG game will be fully 2D. I am new to coding and will try to implement new features onto an existing game. When I run into problems, I'd like you to help me work out how to fix them and get the code to work.

It will be a casual job with hours done as needed and for a maximum of 10 hours per week (rate will be negotiated according to your experience & more)

Ideal Skills:

Strong proficiency in JavaScript, specifically React JS.
Significant experience in game development, particularly with RPGs.

**If interested, please reach me out at devsearch235@gmail.com with your CV and if you want, a short introduction outlining your experience in this field.
**
Thank you! :)

Tere
sash window refurbishment
Published: 2024-04-19 13:45:30

As a designer planning a project involving specific architectural elements, I've chosen to incorporate double-glazed sash windows from [https://scottjameswindows.co.uk/double-glazing-sash-windows/](https://scottjameswindows.co.uk/double-glazing-sash-windows/) sash window refurbishment. Their double-glazing technique significantly enhances the thermal insulation of the building, making it more energy-efficient. This choice aligns perfectly with my commitment to sustainability and energy conservation in design, providing an aesthetically pleasing solution without compromising on modern performance standards
Who is going to make Vision Pro apps with Unity?
Tags: gamedev, unity3d
Published: 2024-04-19 13:45:21

I fear for the VisionOS developer ecosystem.

The Apple Vision Pro relies on new immersive apps for its success.

But Apple partners with Unity, so developers access VisionOS tools directly within Unity.

This is a big deal to me because:

1. **Developers hate Unity.** Unity raised prices to force developers pay per game install (even retroactively). Due to intense backlash, Unity walked back this change. Still, many game devs swear to abandon the game engine for all new development.

You'd think Apple would partner with the other big game engine, Unreal, to keep developers happy.

2. Epic makes Unreal (and Fortnite). **Epic and Apple are NOT friends.**

Epic and Apple have been feuding in lawsuits since 2020. Epic doesn't want to pay Apple's 30% platform fee for every transaction on Fortnite mobile. Epic thinks Apple is a monopoly while outright ignoring Apple's terms of service.

Epic's animosity towards Apple puts Apple in a tough spot.

Apple is not going to give up the 30% platform fee to Epic. It'd completely break their revenue share from all iOS apps.

Instead Apple teams up with Unity, who the entire gaming community despises.

I don't see game developers willingly working with Unity after the stunt the company pulled.

I have serious questions about the development ecosystem for VisionOS and VR.

Apple Vision Pro was cool, but it's nothing without more apps. It's a platform. It needs developers to bring it to life.

Apple does incentivize new development if it's asking developers to work with Unity.