@rbxts/react-roblox
Advanced tools
Comparing version 0.2.0 to 0.3.0-alpha
{ | ||
"name": "ReactRoblox", | ||
"tree": { | ||
"$path": "src/" | ||
} | ||
} | ||
"name": "react-roblox", | ||
"tree": { | ||
"$path": "src" | ||
} | ||
} |
@@ -1,25 +0,7 @@ | ||
Copyright (c) 2023 JS.Lua | ||
Copyright 2024 Littensy | ||
Permission is hereby granted, free of charge, to any | ||
person obtaining a copy of this software and associated | ||
documentation files (the "Software"), to deal in the | ||
Software without restriction, including without | ||
limitation the rights to use, copy, modify, merge, | ||
publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software | ||
is furnished to do so, subject to the following | ||
conditions: | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice | ||
shall be included in all copies or substantial portions | ||
of the Software. | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF | ||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED | ||
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | ||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT | ||
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR | ||
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
DEALINGS IN THE SOFTWARE. | ||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
{ | ||
"name": "@rbxts/react-roblox", | ||
"version": "0.2.0", | ||
"author": "jsdotlua", | ||
"license": "MIT", | ||
"version": "0.3.0-alpha", | ||
"description": "React DOM bindings for Roblox", | ||
"main": "src/init.lua", | ||
"types": "src/index.d.ts", | ||
"keywords": [ | ||
"roblox", | ||
"typescript", | ||
"roblox-ts" | ||
], | ||
"author": "littensy", | ||
"license": "MIT", | ||
"publishConfig": { | ||
@@ -12,11 +18,5 @@ "access": "public" | ||
"dependencies": { | ||
"@rbxts/luau-polyfill-internal": "1.2.3-ts.0", | ||
"@rbxts/react-internal": "^0.2.2", | ||
"@rbxts/react-reconciler-internal": "^0.2.1", | ||
"@rbxts/scheduler-internal": "^0.2.1", | ||
"@rbxts/shared-internal": "^0.2.1" | ||
}, | ||
"devDependencies": { | ||
"@rbxts/roact": "npm:@rbxts/react-ts@latest" | ||
"@rbxts/react": "0.1.0-alpha", | ||
"@rbxts/react-vendor": "0.1.0-alpha" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import Roact from "@rbxts/roact"; | ||
import React from "@rbxts/react"; | ||
@@ -13,3 +13,3 @@ export interface RootOptions { | ||
export interface Root { | ||
render(children: Roact.Element): void; | ||
render(children: React.Element): void; | ||
unmount(): void; | ||
@@ -34,2 +34,16 @@ } | ||
*/ | ||
export function createPortal(children: Roact.Element, container: Instance, key?: string): Roact.Element; | ||
export function createPortal(children: React.Element, container: Instance, key?: string): React.Element; | ||
/** | ||
* Wrap any code rendering and triggering updates to your components into `act()` calls. | ||
* | ||
* Ensures that the behavior in your tests matches what happens in the browser | ||
* more closely by executing pending `useEffect`s before returning. This also | ||
* reduces the amount of re-renders done. | ||
* | ||
* @param callback A synchronous, void callback that will execute as a single, complete React commit. | ||
* | ||
* @see https://reactjs.org/blog/2019/02/06/react-v16.8.0.html#testing-hooks | ||
*/ | ||
export function act(callback: () => Promise<void>): Promise<undefined>; | ||
export function act(callback: () => void): void; |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
2
0
0
46
9096
6
2
0
+ Added@rbxts/react@0.1.0-alpha
+ Added@rbxts/react@0.1.0-alpha(transitive)
+ Added@rbxts/react-vendor@0.1.0-alpha(transitive)
- Removed@rbxts/react-internal@^0.2.2
- Removed@rbxts/scheduler-internal@^0.2.1
- Removed@rbxts/shared-internal@^0.2.1
- Removed@rbxts/luau-polyfill-internal@1.2.3-ts.0(transitive)
- Removed@rbxts/promise-forward@1.0.5(transitive)
- Removed@rbxts/react-internal@0.2.2(transitive)
- Removed@rbxts/react-reconciler-internal@0.2.1(transitive)
- Removed@rbxts/scheduler-internal@0.2.1(transitive)
- Removed@rbxts/shared-internal@0.2.1(transitive)