Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Version 2 (typescript, hooks, functional components) input wanted #458

Open
@jonthomp

Description

@jonthomp

Update: Work in progress on the version-2 branch, alpha is available on NPM.

npm install tabler-react@alpha
yarn add tabler-react@alpha


I've been thinking about a journey towards version 2 and some big internal changes that I think should happen along the way....

Given that Typescript is fast becoming, if it isn't already, the most widely used type system in React open source projects it may be a good time to also make the switch.

Features

  • Typescript
  • Components should will become React Hooks powered function components where possible.
  • Everything should will work in React Strict Mode.
  • Use Storybook and add visual tests using Chromatic.
  • All packages/libs to be updated
  • Fix outstanding issues
  • Introduce missing features from the core repo
  • Improve how CSS is imported and built from the main repo (and update to latest version)
  • Make sure className and style props are available everywhere
  • Always spread remaining props to underlying components and make sure any internal components can have their props set
  • Base components providing style utility props
  • Refs forwarded to the underlying HTML elements

Keen to hear any thoughts or additions?

cc @AaronCoplan @Greg-Hamel

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededwork in progressThis issue or pull request is still a work in progress

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions