DEV Community

Cover image for Before opting for NextJS give a look to Jeasx
artydev
artydev

Posted on • Edited on

1

Before opting for NextJS give a look to Jeasx

I am envolved in project which use NextJS, I really don't apprehend it's complexity.
If I was asked what SSR/Javascript to use, I would without any doubt choose : Jeasx

Here is a simple products route component, in a file named : [products].jsx.

Notice how easily it handles asynchronous request, and fill the page in
a very comprehensive way.
No hooks, no states, no effects, no resources...

export default async function Products() {
  const { products } = await (
    await fetch("https://dummyjson.com/products")
  ).json();

  return (
    <Layout title="Products">
      {products.map(({ id, title, description }) => (
        <article>
          <a href={`?id=${id}`}>{title}</a>
          <p>{description}</p>
        </article>
      ))}
    </Layout>
  );
}
Enter fullscreen mode Exit fullscreen mode

If NextJS is not your thing, give it an eye.

Here are some demos

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay