Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS/TS & React Example part has updated. #14

Merged
merged 5 commits into from
May 16, 2024
Merged

JS/TS & React Example part has updated. #14

merged 5 commits into from
May 16, 2024

Conversation

oguzutku1745
Copy link
Contributor

@oguzutku1745 oguzutku1745 commented Apr 30, 2024

A reference has been fixed.

Examples are updated based on the current repository and how the workers are handled. (The entire code has been revised in detail.)

The Worker Provider component has been removed since it is no longer used in any of the examples.

Wasm initialization has been made optional. (Currently, none of the examples are initializing Wasm separately from the SDK.)

Configuration for handling files with a .aleo extension has been added. Support part for the .aleo extension for TypeScript users has been added.

UPDATE:

The Next.js example that I mentioned in the meeting is still pending as a PR in the SDK repo; however, it is more relevant to the create-aleo-app PR instead of this one. This update is aligned with the most popular React example.

You can check the status of the Next.js example PR here.


Here is the corrected version of your text:

A reference has been fixed.

Examples are updated based on the current repository and how the workers are handled. (The entire code has been revised in detail.)

The Worker Provider component has been removed since it is no longer used in any of the examples.

Wasm initialization has been made optional. (Currently, none of the examples are initializing Wasm separately from the SDK.)

Configuration for handling files with a .aleo extension has been added. 
Support part for the .aleo extension for TypeScript users has been added.
@oguzutku1745
Copy link
Contributor Author

Looks like I forgot to update the on-chain execution part. Will do it asap.

@oguzutku1745 oguzutku1745 requested a review from Zack-Xb May 8, 2024 14:15
src/build/leo/aleo-sdk/js-ts/guide.md Outdated Show resolved Hide resolved
src/build/leo/aleo-sdk/js-ts/guide.md Show resolved Hide resolved
src/build/leo/aleo-sdk/js-ts/guide.md Outdated Show resolved Hide resolved
@Zack-Xb
Copy link
Contributor

Zack-Xb commented May 10, 2024

In general great stuff, think this is a very valuable piece of documentation.

Copy link
Contributor

@laishawadhwa laishawadhwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Zack-Xb Zack-Xb merged commit 4c5ee76 into main May 16, 2024
@Zack-Xb Zack-Xb deleted the Guide-Updates branch May 16, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants