Skip to content

s1n7ax/nvim-react

Repository files navigation

nvim-react (:construction: WIP)

Reactive UI rendering framework for Neovim

demo.mp4

Features

  • Functional components
  • Signals (something like useState in ReactJS)
  • Complex data stores (:construction: WIP)
  • Lifecycle callbacks
  • Keymap events
  • Highlighting

Development

Open the project

nvim -c "luafile dev/init.lua"

Try <leader><leader>w keymap

Run tests

⚠️ Running tests requires plenary.nvim to be checked out in the parent directory of this repository ⚠️

You can then run:

nvim \
--headless \
--noplugin \
-u tests/minimal.vim \
-c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/minimal.vim'}"

Or if you want to run a single test file:

nvim \
--headless \
--noplugin \
-u tests/minimal.vim \
-c "PlenaryBustedDirectory tests/path_to_file.lua {minimal_init = 'tests/minimal.vim'}"

About

Reactive UI framework for neovim

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published