Releases: StopNGo/react-proto
Releases · StopNGo/react-proto
react-proto@1.5.1
Removing some unnecessary dependencies, some types fixes and accessibility improvement.
Fixes
- TS typing after RTK upgrade
Improvements
- Adding label to language selector
react-proto@1.5.0
Upgrading to TypeScript 5 and Redux 5.
New
- HOC for preventing component rendering on the server (
<NoSsr></NoSssr>
) - Redux middleware for persisting data to LocalStorage
Fixes
- Fixed Redux reducers Hot Module reloading
Improvements
- Redux hydration action for entire app state
- Switch to another stylelint order set of rules
- Some developing of the add-commp.js script for fast adding new component
react-proto@1.4.2
Fixing Service Worker starting function which has been incorrectly modified after fixing TypeScript linting error.
All Promises are modified to have unified then().catch() structures.
New
- Migrating React Router to the configuration with RouteObject and useRoutes hook;
Fixes
- Fixed Service Worker starting function;
- Added sw.js file to the webpack copy plugin to proper work in static build;
Improvements
- Unification of all Promise functions in the project;
react-proto@1.4.1
A previous update included a 'minimize' option in the Webpack client configuration, resulting in HMR not working properly.
Fixed.
Fixes
- Removing 'minimize' from Webpack client configuration;
react-proto@1.4.0
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;
react-proto@1.3.0
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;
react-proto@1.2.1
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;
react-proto@1.2.0
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);
react-proto@1.1.0
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
react-proto@1.0.0
React Proto - React TypeScript Boilerplate
Template React project with full TypeScrip and SSR support.
Version 1.0.0