0.0.1 • Published 1 year ago
@racket/sdk v0.0.1
@racket/sdk
Install
npm install --save @racket/sdk
Usage
import React, { Component } from "react";
import RacketSDK from "@racket/sdk";
export default () => {
useEffect(() => {
RacketSDK.init();
}, []);
return <div />;
};
Linking
- Link the
@racket/sdk
package by navigating to the/racket-sdk
folder and runningyarn link
. - Navigate to
/racket-app/store/apps/<your-app>
and runyarn link @racket/sdk
. - You can now modify code in
/racket-sdk
folder, once finished runnpm run build
to build or usenpm run dev
to watch for changes.
License
MIT © afterburn
0.0.1
1 year ago