roact
roact copied to clipboard
A view management library for Roblox Lua similar to React
Closes #233 Fixes issue where component's state does not update with `:setState({})` when `shouldUpdate` returns false. Checklist before submitting: * [x] Added entry to `CHANGELOG.md` * [ ] Added/updated relevant...
Closes #376 This makes PureComponent perform a shallow equality check on state in `shouldUpdate()`. This is the same behavior as React and is what PureComponent was documented as actually supposed...
The implementation of PureComponent doesn't actually compare state as documented in https://roblox.github.io/roact/performance/reduce-reconciliation/#purecomponent and https://roblox.github.io/roact/api-reference/#roactpurecomponent https://github.com/Roblox/roact/blob/956891b70fdc5410e44e9664719cd0a9f7e6fabd/src/PureComponent.lua#L16-L20
the createSignal file has the following code: ``` for callback, connection in pairs(connections) do if not connection.disconnected and not suspendedConnections[callback] then callback(...) end end ``` why is this not done...
Currently it's not possible to skip a binding property update as Roact does not check what the return is. This eliminates optimization possibilities when ex. sharing a Binding across 500...
The most recent release of Roact is version `1.4.4`, but the most recent version on Wally is `1.4.2`. There have been a few requests to get Roact updated in the...
updates the signal class to use the new task library
Add types to Roact to allow autocomplete to work. Without it, you have to either make a vague shorthand like `local e = Roact.createElement` or type out `Roact.createElement` every time...
We cannot keep letting people shoot themselves in the foot on this. I'm tired of trying to *convince* people to use Roact properly. Both of these should be frozen by...
Hello everyone i got real lag with this app