4 ms·
What will the new framework next week be?
by boringuser2 3y ago
What will the new framework next week be?
- twojobsoneboss 3y agoHey now, new framework makes your brain work
- whoishiringbrad 3y agoI definitely can appreciate this sentiment, but I will also add that for me Remix feels like a simplification more than something that's added complexity. It also leans heavily into the Web APIs so you get a lot of non-framework knowledge when you use it. Personally, I haven't experienced that kind of "this is simpler" feeling since jQuery.
- troupo 3y ago> It also leans heavily into the Web APIs so you get a lot of non-framework knowledge when you use it. This is thrown around by each and every framework so much that this lost any meaning. What does it mean? Which of the 11 custom React elements (including Link, Form, Await) and 26 custom React hooks are "simplification and leans heavily into Web APIs"? --- As a side note, here's how it tells you to add a stylesheet to the app. So simple, much Web API: https://remix.run/docs/en/main/start/tutorial https://remix.run/docs/en/main/start/tutorial import type { LinksFunction } from "@remix-run/node"; import appStylesHref from "./app.css"; export const links: LinksFunction = () => [ { rel: "stylesheet", href: appStylesHref }, ];
- whoishiringbrad 3y agoHere are some simplifications that are worth mentioning, I think, of course, it's easy to find fault with any of them. But I'd be curious in what you think is a better alternative. - loader, action, component colocation - code splitting without thinking about it - automatic data revalidation on mutation - useFetcher for optimistic updates In terms of the fancier things (the react components) -- none of that is necessary. Personally, I don't use <Await> or <Defer> at all. Although it's nice to know that I need to pull some performance levers, I have those options. One React component that I do use a lot is <Link>. The thing I love about it is that I can add a <Link prefetch="intent"> to it, and I'll get an near-instant page load when I click it. The web APIs that I work with in Remix are Request, Response, Headers, Cookie and FormData.
- troupo 3y ago> Here are some simplifications that are worth mentioning, I think, of course, it's easy to find fault with any of them. But I'd be curious in what you think is a better alternative. Simplification compared to what? A better alternative to what? > In terms of the fancier things (the react components) -- none of that is necessary. It doesn't matter if they are necessary or not, they are there in the framework. > The web APIs that I work with in Remix are Request, Response, Headers, Cookie and FormData. That's.... it? You call that "leans heavily into Web APIs"? Have you ever thought of what backend services do all day everyday? These are not "web apis". These are wrappers over HTTP.
- boringuser2 3y agoIf you want a new dopamine hit, check out Svelte. It is still better than any React based framework.
- SwiftyBug 3y agoRemix has been around since 2021.
- zwily 3y agoRemix has been around 4 years now. It’s not really a “framework of the week”.
- 0xblinq 3y agoIt’s the framework of the week because now it’s when it’s getting popular, gaining traction and everyone is trying it out. Not because of how long has been in the make.