Pract v0.9.5-beta
Pre-release
Pre-release
AmberGraceRblx
released this
01 Nov 06:43
·
148 commits
to main
since this release
WARNING: Documentation is still in progress, and unit tests have not yet been written for the library. Be wary of using this release in production projects.
- Fixed a bug that would cause
OnChild
elements (generated fromPract.decorate
andPract.index
) to constantly re-mount themselves if a child was never found. In addition to this, a warning is emitted if the instance is not found within the first 10 seconds. - Fixed the typing of
ClassComponentMethods.willUpdate
to match the actual behavior - Class component
self.state
andself.props
variables now only change after theshouldUpdate
lifecycle event, to mirror Roact's behavior - Fixed a number of bugs with class component lifecycle methods
- Attributes and CollectionService tags added to a
Pract.decorate
-managed instance will be removed when the node is unmounted.
In addition to this, a basic usage guide has been written for some features of Pract.
The next priorities for this library are an advanced usage guide and full API documentation, as well as unit testing and better (auto-opinionated) code style to prepare for a production-ready release.