Earlier quoted context omitted.
Yeah, other than the nested route thing, there doesn’t seem to be that much difference between Next and Remix when it comes to talking to a database.
Next.js has had nested routes since version 6. Not sure I see the difference in what Remix is offering? https://nextjs.org/docs/routing/introduction#nested-routes
Remix – A framework focused on web fundamentals and modern UX
131–140 of 307 posts
Re: Remix – A framework focused on web fundamentals and modern UX
#132> "We need you to "sign" a contributor license agreement (CLA) first that assigns us ownership so we are able to include it in this software. We don't yet have a CLA, but we are working on it and we will be able to accept your contributions as soon as we do."
Apparently, requiring a CLA isn't as uncommon as I initially thought, but I'm still curious why some projects require this but others do not. What about their business model / licensing choices necessitate a CLA?
Re: Remix – A framework focused on web fundamentals and modern UX
#133From their contributing page: https://remix.run/docs/en/dev/contributing > "We need you to "sign" a contributor license agreement (CLA) first that assigns us ownership so we are able to include it in this software. We don't yet have a CLA, but we are working on it and we will be able to accept your contributions as soon as we do." Apparently, requiring a CLA isn't as uncommon as I initially thought, but I'm still cur…
Re: Remix – A framework focused on web fundamentals and modern UX
#134Earlier quoted context omitted.
Frameworks are designed for the following (this is obviously an incomplete list): 1. large teams (not just one webmaster, circa 1999) 2. tooling like syntax checking, style enforcement, minification, and transpiling 3. component-based development & reuse; forces smaller files which are easier to lint and test 4. separation of concerns. in the old days there was one Apache www folder and everyone took a big shit in it…
> JavaScript allows getter/setter methods that can update the DOM when a value changes; this includes before/after and around-like methods that can integrate AJAX calls in a VARAIBLE name. e.g., you access the variable and an AJAX call fires and updates your DOM when the data returns with you doing ZERO coding. Maybe I'm old but that sounds TERRIBLE. When my code is doing something expensive like a network call, I wa…
Another way to look at it is you just removed 300 lines of buggy redundant code into one line that does exactly the same thing but without all the fuss. And now that your code is so small you can understand it better, and test it.
Also, there's this "new" thing called async/await: javascript is built on deferred execution, so you don't block on expensive calls. PHP is a dinosaur.
Reactivity is mostly used for managing the DOM in a natural, non-intrusive way, and my AJAX example is maybe extreme, but a good illustration. I'd say that concept in the frontend is biggest invention since 2010.
Re: Remix – A framework focused on web fundamentals and modern UX
#135I have played with the generator app and some basic APIs. It seems to be a more opinionated NextJS. It has a way to load data, submit forms, load styles... All good if you buy-in the philosophy of the framework, and I guess it could reduce js-fatigue.
Re: Remix – A framework focused on web fundamentals and modern UX
#136I wonder how Remix ranks next to Blitz.js[1] or Redwood.js[2]. They seem like they're all trying to do similar things. [1] https://blitzjs.com/ [2] https://redwoodjs.com/
Yes, definitely different takes on the same problem! We could make a comprehensive list of all the differences, but the end result is that you can use all three (four if you include Next.js) to build any web app imaginable. At the end of the day, you must try them each for yourself and find which one resonates most with you and your team.
Re: Remix – A framework focused on web fundamentals and modern UX
#137They lost me at: return ( {projects.map((project) => ( {project.title} ))} . . . I don't know why we need another framework that smashes together code and HTML/directive-based templates like this and, generally, keeps us bound so tightly to web idioms. Would be nice to have a framework that obscures these kinds of "web fundamentals", so we no longer have to wrangle such low-level primitives to build complex apps. EDI…
I don't mind vouching for this comment because it does further the discussion. It's a lot more interesting that the "let's should be lets" comments.
I noticed in another of your comments you mentioned it seemed similar to Nuxt.js and you were digging in further to look for differentiation.
That's kind of what I'm getting at here: things in this space are moving needlessly incrementally at this point, creating so many permutations on largely the same underlying themes and staying pinned to original Web semantics. Why do we accept HTML as an app UI "language"? Is that what we would choose if spec'ing for that use case today? So, why do we introduce all of these new layers, complete with webpacking, transpiling, etc. only to continue surfacing such ill-suited low-level constructs in our code?
That's not to say the Remix team aren't good people or haven't made real improvements here. Reading further, I see where they're creating value, and the testimonials seem to be inspired.
So, it seems successful for what it is, but that's all relative. What I'm suggesting is that it's time for a paradigm shift in Web development.
Would really be interested to see what that same team could have created had they broken out of the React/SSR/etc. box.
Re: Remix – A framework focused on web fundamentals and modern UX
#138I remember the team had the idea of charging for the software but now I am seeing that they raised VC money. There is no question that this sort of company can be big (See Vercel) but I'm wondering why this decision was made?
Re: Remix – A framework focused on web fundamentals and modern UX
#139So as a 56yo "old school" LAMP-stack monkey, could someone please give me a quick rundown exactly what benefits would investing the mental energy (a non-trivial amount) and time (less an issue) give to someone in my ancient yet comfortable canvas Cons? For sure next.js is an interesting framework and of course I use plenty of typescript in my projects to keep the UXs from feeling stale, but I have yet to see the over…
I think this new wave of server-enabled React is enabling codebases that are better organized than old MVC stacks. The MVC way was: 1. Look at the route 2. Recognize that this route has, e.g. A Header, A Sidebar, and Content 3. Load the data for the Header, Sidebar, and Content 4. Pass the data to the templating engine 5. Use the templating engine to render the route, which likely fans the data for the Header, Sideba…