- Adds
Modalcomponent.
Fix of <Link> and <NavLink> logic.
Fixes various sins left in the previous version.
-
A better way to build the library: both dev and prod builds are created; and the proper version is selected depending on
NODE_ENVvalue at the buildtime (client-side) or runtime (server-side) of the host code.BREAKING CHANGE: You should update the way you include style the global stylesheet into the host code, from:
require('topcoder-react-utils/dist/style.css');
to
/* eslint-disable global-require */ if (process.env.NODE_ENV === 'production') { require('topcoder-react-utils/dist/prod/style.css'); } else { require('topcoder-react-utils/dist/dev/style.css'); } /* eslint-enable global-require */
This will include the proper version of compiled global styles into the host code.
-
Also most of NPM dependencies updated to their latest versions, which might demand some fixes in your code.
-
Adds optional
typeprop to<Button>
All dependencies are force-updated to their latest versions. It might introduce breaking changes.
PoC implementation of item actions and reducer.
- Removes
adopt-dev-depsscript (usetopcoder-lib-setupinstead).
Adds topcoder-lib-setup script, which should help to update our ReactJS
libraries in the host packages. Not mentioned in the docs as it still pending
to be tested in prod.
- Updates many dependencies to the latest versions. Presumably, should not introduce breaking changes, but, just in case, tagged as a minor update.
- Adds
collectionactions and reducer.
- Fixes
webpack.resolveWeak(..)for usage from within a host codebase.
- Adds
<AppChunk>andwebpack.resolveWeak(..).
- Updated names pattern for static assets.
Removed as not useful.cdnPublicPathoption added to the standard Webpack config for apps to support assets loading via CDN.
- Small fixes in the client / server setup.
createActions(..)alias added toreduxutils, to use that function without explicit import ofredux-actionsmodule.
- Fixes and enhancements in the client / server setup (HMR, Redux, Server-side rendering);
- Added:
DevTools(Redux Dev Tools);<MetaTags>(convenient management of meta-tags that provide content for page title, social sharing links, etc.);reduxutils for creation of Redux store, and various auxiliary operations with actions and reducers.
- Adds the client-side initialization code, and makes some corrections of the standard Wepback configs and server setup.
- Added the standard, configurable server setup;
- Jest utils are now exposed in a different way;
- Config / isomorphy / webpack utils added;
- Updated dependencies.
- Webpack configs for apps updated to emulate
process.env.BABEL_ENVinstead ofprocess.env.NODE_ENV. The original intent behind emulation of that constant was to distinguish development and production bundles during the runtime; in our code depending on this package it isBABEL_ENVallows to distinguish the builds, whileNODE_ENVserve to switch between dev and prod APIs to be used during the runtime.
The first release of the package. In general, everything is set up, we are going to move in difference stuff, without changing created package structure.
Pre-release drafts of the initial package version. A big journey starts here.