cferdinandi / reef

A lightweight library for creating reactive, state-based components and UI.

Home Page:https://reefjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reef types

mvestnik opened this issue · comments

  • issue #86
    Hi!
    This project needs typescript. TS greatly speeds up the development process and allows you to understand the code. There are a lot of tools to make writing easier and faster, such as ide hints, TS linters, etc

This example work:

1.png

This is not work and TS could have explain this:

2.png

This not work:

3.png

Wrong func signature, why?

4.png

I found many more examples

Without refactoring and types, this project will remain a very cool idea but with poor implementation

No, sorry. It’s an unnecessary dependency.