Forest Logo
search
package_2

modded-vide

By @pepeeltoro41

Roblox

Mirrored

Vide is a reactive Luau UI library inspired by Solid.

  • Fully Luau typecheckable
  • Declarative and concise syntax.
  • Reactively driven.

Check original Vide repository. Check roblox-ts Vide JSX forked repository.

Modded Vide

This is a fork of the original Vide library, with some changes that suit my needs better.

Use this library at your own risk.

  • This may not respect the original vide philosophy or plans.
  • This touches vide internals that are not meant to be used.
  • Changes in the original Vide library may break this fork, make some features impossible to re-implement, or render some features useless.
  • This is not as tested as the original Vide library.

JSX Changes

  • Added ref attribute, does the same as action allowing you to define a ref but still have the action attribute free.

  • children key is removed before passing the props to vide.create calls, this is so you are able to spread props in roblox instances without the children key sneaking in. You can disable this with vide.remove_children.

API Changes

NONE :DD

Additions

  • Added vide.inner_scope for creating new stable scopes with a parent scope, this is useful for creating scopes without loosing information about the parent scope. Contexts depend on this

  • Added vide.destroy_scope for destroying a scope, will be needed for vide.inner_scope

  • Added vide.get_scope for getting the current scope

  • Added vide.get_parent for getting the parent scope

  • Added vide.create_context, vide.use_context for creating contexts and using them.

Contexts

Package Details

Install command (Click to copy)


Version

0.0.5

License

MIT

check_circle

Safe for commercial use

Automated license review — not legal advice.