From 9a911bcdd9959c03dccb1fe2bd0b9292d3dbcdf4 Mon Sep 17 00:00:00 2001 From: Byounghern Kim Date: Thu, 3 Oct 2024 21:44:47 +0900 Subject: [PATCH] docs: update index (#6) --- docs/src/pages/index.astro | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro index b50987a..8a08f0f 100644 --- a/docs/src/pages/index.astro +++ b/docs/src/pages/index.astro @@ -16,10 +16,11 @@ import Layout from '../layouts/Layout.astro';

Note: This library is currently under development and not yet ready for production use.

-

Usage

+

Usage Example

-

-      {`
+    
+      
+{`
 import { GeoMap } from 'react-geojson-map';
 
 function App() {
@@ -29,10 +30,13 @@ function App() {
   
); } - `} - +`} + + +

Try it live on StackBlitz

+

Why Use React Reconciler?

React GeoJSON Map leverages React Reconciler for superior performance and flexibility in geospatial visualization. This approach enables fine-grained control over rendering, custom logic aligned with OpenLayers, and a declarative API for map components. As a result, it offers efficient updates, smooth performance with large datasets, and an intuitive development experience.