5 Matching Annotations
  1. Nov 2020
    1. You may also use the package typings-for-css-modules-loader instead of css-loader to automatically generate typescript .d.ts files in order to help resolve any css/scss styles
  2. Oct 2020
    1. This library is built in TypeScript, and for TypeScript users it offers an additional benefit: one no longer needs to declare action types. The example above, if we were to write it in TypeScript with useReducer, would require the declaration of an Action type: type Action = | { type: 'reset' } | { type: 'increment' } | { type: 'decrement' }; With useMethods the "actions" are implicitly derived from your methods, so you don't need to maintain this extra type artifact.
  3. Nov 2019