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