Skip to content

alevann/terra

Repository files navigation

Terra

tests

A React clone I'm making cause why not, check the table below to see how Terra compares to React:

(Chad) Terra (Virgin) React
Is made with love by a single guy Developed by a heartless mega-corporation
Way cooler name, not even a competition Has QA and testing
Super small, no bloat Has useful features
Cares for the environment Doesn't care for the environment and hates puppies

After reading through that, and realizing that Terra is perfect for you, you may ask: is this production ready? And to that I say: everything is production ready if you use it in production, go forth.

TODO

Stuff that needs to be done, but won't necessarily be done:

  • Update README
  • Fix public package API to allow importing directly from terra/dom instead of terra/dist/dom
  • PropsWithChildren causes TS2322 even if children are passed, no clue why
  • Context API
    • createContext
    • useContext
    • Context.Provider
  • More hooks
    • useMemo
    • useRef
    • useReducer
    • useCallback
    • Do custom hooks even work? -- Hell yeah they do baby (apparently)
    • Hook implementations should be tested (not manually)
  • Fragments
  • Lazy loading
  • Tests
    • This list is really depressing, so I'm marking this as done

About

A React Clone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published