This repository was archived by the owner on Jul 11, 2024. It is now read-only.
@curiostack/base-web-0.1.0
·
198 commits
to master
since this release
This is the first release of @curiostack/base-web 0.X.Y. To celebrate, let's review some of its features.
Notable Features
Initial versions of this framework were directly inspired by react-boilerplate. It's a great framework and base-web attempts to have similar features without keeping the boilerplate code in the user's repository.
- Least amount of boilerplate for developing a React web client with best practices inspired by react-boilerplate. Even package.json scripts don't need to be set. Version upgrades will apply naturally as there is no boilerplate in user code to keep in sync
- A webpack loader and react component for fully responsive images. Specify viewport widths for images and a variety of sizes will be automatically generated and served using a
picture
tag to give the best user experience - A fallback module resolver to reduce dependency problems in monorepos. Both webpack and normal node invocations (like jest) will respect the fallback definitions, and unlike other solutions that only allow defining a single alias, the fallback resolver can check a list of them in order (used to work around core-js 3 / 2 dependency conflicts)
- Any site can be prerendered using a simple configuration of routes and globals.
Breaking changes
styled-components-ts
dependency is not listed anymore. If you still usestyled-components-ts
, you can add it into your own package.json, but it's highly recommended to migrate tostyled-components
official typescript bindings which work out of the box- Significant prettier whitespace changes. You will probably want to run
:yarn_run_fix
first after upgrading before trying to build projects.
Bug fixes
- The
fix
script (i.e.,./gradlew :yarn_run_fix
) did not actually output fixes