ev on Nostr: I've been shopping around for JavaScript frameworks to learn, after years of writing ...
I've been shopping around for JavaScript frameworks to learn, after years of writing programs in hscrpt:
https://github.com/dominictarr/hscrptI went to a coding meetup and polled everyone I talked to and it was suggested that I check out, in no particular order:
+ React
+ Preact
+ Nextjs
+ Vue
+ Angular
+ Svelte
I messed around with Preact and I discovered that you can create DOM objects in almost the same syntax I'm used to using in hscrpt, for example:
```
const paragraph = h('p', null, 'Hello World')
render(paragraph, document.body)
```
Which I thought was kind of cool, because I can port my hscrpt knowledge indirectly into Preact! And i don't have to code using xml if I don't want to.
Published at
2023-05-23 18:21:09Event JSON
{
"id": "50450fd535b04a193f528b3394945047f400c0e6c403b8d53638e56369d8194d",
"pubkey": "8b278ad86bf6a418dba942ff04fa8ed372303ab1b5e4286b785f7a5cdc07b277",
"created_at": 1684866069,
"kind": 1,
"tags": [],
"content": "I've been shopping around for JavaScript frameworks to learn, after years of writing programs in hscrpt: https://github.com/dominictarr/hscrpt\n\nI went to a coding meetup and polled everyone I talked to and it was suggested that I check out, in no particular order:\n\n+ React\n+ Preact\n+ Nextjs\n+ Vue\n+ Angular\n+ Svelte\n\nI messed around with Preact and I discovered that you can create DOM objects in almost the same syntax I'm used to using in hscrpt, for example:\n\n```\nconst paragraph = h('p', null, 'Hello World')\n\nrender(paragraph, document.body)\n```\n\nWhich I thought was kind of cool, because I can port my hscrpt knowledge indirectly into Preact! And i don't have to code using xml if I don't want to.",
"sig": "887a7556c8a7ed5392224127027afec232f560a07bc52077cc8d47cafe5860690be8a598bef3fb3208bcd99578f454babbdb15eb2c9233fde047307c58c6d55b"
}