Skip to content

freactjs/core

Repository files navigation

Freact

Freact is a VDOM-based component library that aims to mimic the API of React. Create a new Freact project by running one of these commands:

npm init @freact    # npm
yarn create @freact    # yarn
pnpm create @freact    # pnpm

Supported React features:

  • Function Components
  • Fragment
  • createContext
  • memo
  • Hooks
    • useState
    • useEffect
    • useRef
    • useReducer
    • useMemo
    • useCallback
    • useContext

Minimal code example for Freact:

import { createRoot } from 'freact';

createRoot('#app').render(
  <div>this is a Freact app</div>
);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published