Releases: StopNGo/react-proto
Releases · StopNGo/react-proto
[email protected]
i18n and TS Standard support.
New
- i18n (Internationalization): Lightweight custom solution based on Redux (with async loading and SSR support);
- TS Standard full support (TypeScript Style Guide, with linter and automatic code fixer based on StandardJS);
- Prettier;
Improvements
- You can turn on the Lazy Module Compilation feature in the Webpack configuration;
- Some fixes in styles;
Changes in the Sample Application
- Added language selector;
[email protected]
Added a sample for server side data prefetching using Redux Toolkit Query.
New
- You can check now how to prefetch data on server side before rendering and sending the result to the user;
Improvements
- Some fixes in styles and variable names;
Changes in the Sample Application
- Added Image component with optional loading indicator;
- Added separate loadable component;
- Pokemon Card component are not loadable now to show prefetched data;
[email protected]
Fix scripts for deploy
Improvements
- Added link to the live preview on render.com;
Fixes
- Scripts modified to build without Webpack Bundle Analyzer report server;
[email protected]
Adding optional Preact.
New
- You can use now a Preact library as alternative option to React
Improvements
- Improved scss source mapping;
- Jest config now in .ts file with configuration object checking by typescript;
Fixes
- No more testing library in a bundle (sideEffects option in packages.json);
[email protected]
Adding testing environment.
New
- Jest 29+
- React Testing Library
- Utility for Redux Testing
- One example of integration test of a component with user event and Redux
[email protected]
React Proto - React TypeScript Boilerplate
Template React project with full TypeScrip and SSR support.
Version 1.0.0