In October, tarol-hooks released two more releases (one fix and one minor release). Tarol-hooks basically maintain updates on a weekly basis. Taro-hooks currently have 52+hooks available. Nearly 75% of official apis are covered.

Currently taro-hooks are updated to V1.5.0. Hardly written at all.)

The profile

This update contains nearly 3 hooks:

  • UseBle: Low-power Bluetooth
  • UseBluetooth: Bluetooth device
  • useFrom: Indicates route correlation and expansionTaro useRouterTo obtain information from the source page

other

  • expanduseRouterAnd combined with theuseFromAdd source page information.
  • Repair partshookReturn instance definition
  • Repair partshookReturn the default initial value
  • Added description that some FAQ types do not exist.

Update log

Bugfix & Improvment

  • hook type: fix default value of some hook instance (28b96f8)
  • usemenubuttonboundingclientrect: fix typeof useMenuButtonBoundingClientRect result (a25d76c)
  • usesysteminfo: fix typeof useSystemInfo result (db30a1b)
  • useupdatemanager: fix return instance of useUpdateManager (92d99ca)
  • share & default: add share func for request feature & fix some default of hooks (879ca4b)

Feature

  • useble: add useBLE (9d60c08)
  • useble: add useEffect code for useBLE (615a23a)
  • usebluetooth: add doc and type for useBluetooth (7f1b80b)
  • usebluetooth: add useBluetooth (931d7f4)
  • usefrom: add useFrom hook (248157d)
  • userouter: add from info for useRouter (c2631f6)

Check out more update logs

recommended

  1. dragula

    Compatibility and good sense of use of drag library. There are also numerous examples and demos that work with the framework.

  2. Taobao NPM mirror for a new domain name

    • The optimization

      • Start a new domain name.
      • Comprehensive Registry reconstruction improves stability and reduces synchronization failure rate.
      • Optimized CLI to improve installation speed and remove compatibility problems caused by soft connection.
      • Precipitated from the use of large-scale enterprise application manual.
    • The migration plan

      • Change the domain name to: registry.npmmirror.com
      • Reinstall the patch version of the used version
  3. Toward Hermes being the Default

    In this post, we want to highlight some of the most exciting progress we’ve made over the past two years to push Hermes towards being the best JavaScript engine for React Native. Looking forward, we are confident that with these improvements and more to come, we can make Hermes the default JavaScript engine for React Native across all platforms.

  4. apexcharts

    📊 Interactive JavaScript Charts built on SVG

    A lightweight SVG charting solution

  5. color

    Color space conversion & manipulation lib.

    Operation library on color conversion.

  6. excalidraw-animate

    A tool to animate Excalidraw drawings

    excalidrawIt’s my favorite flow art library. Excalidraw-animate manipulates excalidRAW artifacts (artboard information) and generates an animated SVG using the current drawing order.

  7. shoelace

    A multi – framework for PC component library. Style feels like something between Material and everyday style. The components are rich.