Notes on recent developments + dev stuff. UI Improvements. The name service UI was originally built with Vite.

22 Mar 2023, 13:33
Notes on recent developments + dev stuff 1. UI Improvements The name service UI was originally built with Vite.JS, while this is an amazing framework and a much better dev experience than the default create-react app it became less adapted to the needs of the name service UI. Vite.JS is a client-side rendering framework with very limited server-side rendering or server-side generation support. CSR is fine for single-page apps but as the dApp grows it becomes unadapted and ends up bloated with enormous Javascript payloads sent to the client. Surely, moving from one React framework to another should be fine? It depends on the size of the app. Things can break and the bigger the app the more cumbersome it gets, but once the routing etc are done the results are pretty good. Another trick to improve UI speed is removing JS dependencies. Removing Metaplex dependencies from one of Bonfida's packages and reimplementing some of the methods ourselves saved ~800kB which takes ~3.34s to load on a slow 3G network…

Same news in other sources

1
Bonfida
BonfidaFIDA #635
Telegram
22 Mar 2023, 13:34
2. DVX Dev experience (DVX) is key to SNS adoption. In order to improve the DVX, a mono-repo was created to host all the SDKs Web3 is dominated by JavaScript so it’s no surprise that the most complete SDK is the JS one. Over time, we want to build SDKs in other languages and have them on par with the original JS one. The ones currently on the roadmap are; Rust (already almost on par), Python (WIP), Java (WIP), Swift (WIP) and Kotlin (WIP). Java/Swift & Kotlin are important for native mobile support. More points: We made the JS SDK available via a REST API (https://github.com/Bonfida/sns-sdk#sdk-proxy) in order to proxy JS methods via network calls for languages that are not supported yet. There is also an SNS CLI (https://github.com/Bonfida/sns-sdk#cli) that will allow you to do all things SNS via your terminal in a similar fashion to the Solana/SPL Token CLI e.g bulk transfer/register domains. Then, we started building a React hook library (https://github.com/Bonfida/sns-sdk/tree/main/react) to make it easy for people to integrate SNS in their dApp. If there is anything you would like to see added to one of the SDK or CLI we want to hear from you, or if you ever had any pain points interacting with SNS we want to know!
Dev experience (DVX) is key to SNS adoption. In order to improve the DVX, a mono-repo was created to host all the SDKs.
2. DVX Dev experience (DVX) is key to SNS adoption. In order to improve the DVX, a mono-repo was created to host all the SDKs https://github.com/Bonfida/sns-sdk Web3 is dominated by JavaScript so it’s no surprise that the most complete SDK is the JS one. Over time, we want to build SDKs in other languages and have them on par with the original JS one. The ones currently on the roadmap are; Rust (already almost on par), Python (WIP), Java (WIP), Swift (WIP) and Kotlin (WIP). Java/Swift & Kotlin are important for native mobile support. More points: We made the JS SDK available via a REST API (https://github.com/Bonfida/sns-sdk#sdk-proxy) in order to proxy JS methods via network calls for languages that are not supported yet. There is also an SNS CLI (https://github.com/Bonfida/sns-sdk#cli) that will allow you to do all things SNS via your terminal in a similar fashion to the Solana/SPL Token CLI e.g bulk transfer/register domains. Then, we started building a React hook library (https://github.com/Bonfida/sns-sdk/tree/main/react) to make it easy for people to integrate SNS in their dApp. If there is anything you would like to see added to one of the SDK or CLI we want to hear from you, or if you ever had any pain points interacting with SNS we want to know!