Source code for Redwood 1.0, unveiled April 4, is accessible on GitHub. Also known as RedwoodJS, the framework leverages capabilities from multiple technologies, including the React, GraphQL, TypeScript, the Jest testing framework, and the Storybook UI component builder.
A Redwood app is a React front end communicating with a custom GraphQL API, with the API using the Prisma object-relational mapper. By making a lot of decisions for the user, the opinionated Redwood framework promises to free up developers to focus on specializing their applications.
Redwood was co-founded by GitHub co-founder Tom Preston-Werner. Jamstack-style development is offered for both serverless and traditional infrastructure. Integrated features in Redwood are intended to enable faster, iterative workflows in which developers catch bugs earlier and more often, deploy more quickly, and scale development when ready.
Redwood 1.0 features include:
- Opinionated defaults for formatting, file organization, Webpack, and Babel.
- Routing with dynamic parameters, custom types, and named route functions.
- Automatic page-based code-splitting.
- Cells that provide a declarative way to fetch data from the back-end API.
- Generators for pages, layouts, cells, SDL, and services.
- Forms with client-side or server-side validation and error-handling.
- Database (GraphQL back end) and data migrations.
Copyright © 2022 IDG Communications, Inc.
Internet Regulation & Digital Media Attorneys
Internet & Interactive Digital Media Design
Digital Pink Zone