Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Prerelease 2018-03-22

Pre-release
Pre-release
Compare
Choose a tag to compare
@LPGhatguy LPGhatguy released this 23 Mar 00:52
· 412 commits to master since this release

This change is a big upgrade from the last prerelease, and encompasses a lot of changes!

As always, check out the docs for the current API.

Changes from 1.0.0 Prerelease 1

  • Added Roact.reconcile, which will be in the guide soon. It's useful for embedding Roact into existing projects!
  • Added new global configuration API for debug settings
  • Added function variant of setState in preparation for async rendering
  • setState will now throw errors if called at the wrong time
  • Removed unused is*Element methods
  • If a bool is detected as a child of a component, it will be ignored, allowing for a shorter conditional rendering syntax!
  • Error messages should make more sense
  • Added Roact.None to allow removing values from state using setState
  • Got rid of installer scripts in favor of regular model files

Installation

Either download the source from this release and copy the lib folder into your project (like if you're using Rojo), or insert the attached rbxmx file into your game's place!