With Preact, you create user interfaces by assembling trees of components and elements. Components are functions or classes that return a description of what their tree should output. These descriptions are typically written in JSX (shown underneath)…
A curious developer stemming from the state of experimenting and abusing tech. Talk to me about stagnant nature of frontend dev, fusion of software/hardware and which place server best cheesecake.
If I remember right, Ben once said that performance is the most important part of UX, and Preact delivers that. Also he doesn't like Facebook. Feel free to correct me if I made a mistake here. 🙂
Yes, it's an app where 90% of the traffic is people just coming here to read a server-rendered article. While we have interactions, we mostly just want to get people started on what they came here to do as quickly as possible.
But also I really believe that Preact's creator @_developit
cares about the same things I do, so as things evolve in the future I just feel like things are in good hands.
No such thing as too amateur, whatever that even means. Yeah, server-side rendering using "old-school" Rails html.erb files. I believe those is are EJS is inspired by, so pretty much the same thing I think.
Sasa is a highly driven full stack software developer with background in finance and accounting. A relentless problem solver who is passionate about finding elegant solutions to problems at hand.
Sasa is a highly driven full stack software developer with background in finance and accounting. A relentless problem solver who is passionate about finding elegant solutions to problems at hand.
Sasa is a highly driven full stack software developer with background in finance and accounting. A relentless problem solver who is passionate about finding elegant solutions to problems at hand.
Part Vanilla JS, part Preact.
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
Fast 3kB alternative to React with the same modern API.
All the power of Virtual DOM components, without the overhead:
💁 More information at the Preact Website ➞
You can find some awesome libraries in the awesome-preact list 😎
Getting Started
Tutorial: Building UI with Preact
With Preact, you create user interfaces by assembling trees of components and elements. Components are functions or classes that return a description of what their tree should output. These descriptions are typically written in JSX (shown underneath)…
Why did you guys use Preact instead of React. The main motivation?
If I remember right, Ben once said that performance is the most important part of UX, and Preact delivers that. Also he doesn't like Facebook. Feel free to correct me if I made a mistake here. 🙂
Yes, it's an app where 90% of the traffic is people just coming here to read a server-rendered article. While we have interactions, we mostly just want to get people started on what they came here to do as quickly as possible.
But also I really believe that Preact's creator @_developit cares about the same things I do, so as things evolve in the future I just feel like things are in good hands.
Does that mean it is server side rendering? I'm just practising node.js/express.js with EJS templates so just curious.
Sorry if this was amateur question
No such thing as too amateur, whatever that even means. Yeah, server-side rendering using "old-school" Rails
html.erbfiles. I believe those is are EJS is inspired by, so pretty much the same thing I think.Ben wrote about that some months ago:
dev.to/ben/why-we-went-with-preact...
Thanks for the link, I haven't been that active here previously so I probably missed it
I'll take a guess since Dev.to's backend is Ruby if I'm correct, then they probably use Turbolinks to some extent. But what else do they use?
does dev.to have a mobile app ?
I don’t think so, their website is what is considered a Progressive Web App, I think they wrote an article about it some time ago.